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
9,688
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now