class com.babylonhx.Node implements ISmartArrayCompatible
Available on all platforms
Sub classes | ||||||||||
![]() | Bone, Camera, Light, AbstractMesh |
|
Instance Fields
function getDescendants():Array<Node>
Will return all nodes that have this node as parent.
returns | {BABYLON.Node[]} all children nodes of all types. |
function isDescendantOf(ancestor:Node):Bool
Is this node a descendant of the given node. The function will iterate up the hierarchy until the ancestor was found or no more parents defined. @see parent
{BABYLON.Node} | ancestor - The parent node to inspect |
function setEnabled(value:Bool):Void
Set the enabled state of this node. @see isEnabled
{boolean} | value - the new enabled state |