Skip navigation

Other Object3D properties

Other Object3D properties: Learning 3D Graphics on the Web with Three.js
Other Object3D properties: Learning 3D Graphics on the Web with Three.js

Two other common properties of three.js objects are the children and parent properties. 3D scenes are structured in a hierarchical manner where there is a parent/child relationship in between objects much like how it is in between HTML elements. The scene object happens to be the parent for all the objects as everything else get's added to the scene object using its add method. Just like how you are adding objects inside the scene object we could add objects inside other objects as well. This establishes a parent-child relationship between objects. So if you were to move the parent object then the children would move with it as well. There are two other methods that you will learn about here, which are the getObjectByName() and the traverse() methods.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 51m
Duration
76,371
Views
Show More Show Less
Skills covered in this course
Web Web Graphics JavaScript

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.