Constructorsconstructor new Node ( parent ? , enabled ? ) : Node Parameters Optional
parent : Node enabled : boolean = true Propertiesmatrix matrix : Matrix4Like
Accessorschildren get children( ) : readonly Node [] Returns readonly Node [] parent get parent( ) : undefined | Node Returns undefined | Node set parent( value ) : void Returns void rotation get rotation( ) : Float32Array & QuaternionLike Returns Float32Array & QuaternionLike set rotation( value ) : void Returns void scaling get scaling( ) : Float32Array & Vector3Like Returns Float32Array & Vector3Like set scaling( value ) : void Returns void translation get translation( ) : Readonly < Float32Array & Vector3Like > Returns Readonly < Float32Array & Vector3Like > set translation( value ) : void Returns void Methodsadd Child add Child ( node ) : void Returns void identity identity ( ) : void Returns void remove Child remove Child ( node ) : void Returns void rotate rotate ( r , axis ) : void Parameters r : number axis : Vector3Like Returns void rotateX rotateX ( r ) : void Returns void rotateY rotateY ( r ) : void Returns void rotateZ rotateZ ( r ) : void Returns void scale scale ( s ) : void Returns void target To target To ( eye , target , up ? ) : void Parameters eye : Vector3Like target : Vector3Like up : Vector3Like = ... Returns void translate translate ( t ) : void Returns void traverse traverse ( f ) : void Parameters f : ( ( self : Node , worldMatrix : Matrix4Like ) => boolean ) | ( ( self : Node , worldMatrix : Matrix4Like ) => void ) Returns void
A node in a scene graph.