class com.babylonhx.Node implements ISmartArrayCompatible

Available on all platforms

Instance Fields

function new(name:String, scene:Scene):Void

function _getDescendants(list:Array<Node>, results:Array<Node>):Void

function _initCache():Void

function _setReady(state:Bool):Void

function _updateCache(?ignoreParentClass:Bool):Void

function getDescendants():Array<Node>

Will return all nodes that have this node as parent.

returns

{BABYLON.Node[]} all children nodes of all types.

function getEngine():Engine

function getScene():Scene

function hasNewParent(?update:Bool):Bool

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 isEnabled():Bool

function isReady():Bool

function isSynchronized(?updateCache:Bool):Bool

function onReady(:Node):Void

function setEnabled(value:Bool):Void

Set the enabled state of this node. @see isEnabled

{boolean}

value - the new enabled state

function updateCache(?force:Bool):Void