Class: GroupNode
Defined in: modules/engine/src/scenegraph/group-node.ts:36
Extends
Constructors
Constructor
new GroupNode(
children):GroupNode
Defined in: modules/engine/src/scenegraph/group-node.ts:41
Parameters
children
Returns
GroupNode
Overrides
Constructor
new GroupNode(
props?):GroupNode
Defined in: modules/engine/src/scenegraph/group-node.ts:42
Parameters
props?
Returns
GroupNode
Overrides
ScenegraphNode.constructor
Properties
children
children:
ScenegraphNode[]
Defined in: modules/engine/src/scenegraph/group-node.ts:37
display
display:
boolean=true
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:30
Inherited from
id
readonlyid:string
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:27
Inherited from
matrix
matrix:
Matrix4
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:28
Inherited from
position
position:
Vector3
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:31
Inherited from
props
props:
ScenegraphNodeProps={}
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:36
Inherited from
rotation
rotation:
Vector3
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:32
Inherited from
scale
scale:
Vector3
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:33
Inherited from
transformSource
transformSource:
ScenegraphTransformSource|null
Defined in: modules/engine/src/scenegraph/group-node.ts:39
Optional evaluated GPU poses; authored matrices remain unchanged.
userData
userData:
Record<string,unknown> ={}
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:34
Inherited from
Methods
_setScenegraphNodeProps()
_setScenegraphNodeProps(
props):void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:195
Parameters
props
ScenegraphNodeProps
Returns
void
Inherited from
ScenegraphNode._setScenegraphNodeProps
add()
add(...
children):this
Defined in: modules/engine/src/scenegraph/group-node.ts:77
Parameters
children
...(ScenegraphNode | ScenegraphNode[])[]
Returns
this
delete()
delete():
void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:53
Returns
void
Deprecated
use .destroy()
Inherited from
destroy()
destroy():
void
Defined in: modules/engine/src/scenegraph/group-node.ts:70
Returns
void
Overrides
findNode()
findNode(
path):ScenegraphNode|undefined
Defined in: modules/engine/src/scenegraph/group-node.ts:103
Resolve one exact ID or path. Missing nodes return undefined; ambiguous paths throw.
Parameters
path
string
Returns
ScenegraphNode | undefined
findNodes()
findNodes(
path):ScenegraphNode[]
Defined in: modules/engine/src/scenegraph/group-node.ts:112
Find structural matches in preorder, including hidden nodes and the search root.
Parameters
path
string
Returns
getBounds()
getBounds():
ScenegraphBounds|null
Defined in: modules/engine/src/scenegraph/group-node.ts:56
Returns
ScenegraphBounds | null
Overrides
getCoordinateUniforms()
getCoordinateUniforms(
viewMatrix,modelMatrix?):object
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:143
Parameters
viewMatrix
any
modelMatrix?
any
Returns
object
modelMatrix
modelMatrix:
any
objectMatrix
objectMatrix:
any
viewMatrix
viewMatrix:
any
worldInverseMatrix
worldInverseMatrix:
any
worldInverseTransposeMatrix
worldInverseTransposeMatrix:
any
worldMatrix
worldMatrix:
any
Inherited from
ScenegraphNode.getCoordinateUniforms
preorderTraversal()
preorderTraversal(
visitor,__namedParameters?):void
Defined in: modules/engine/src/scenegraph/group-node.ts:209
Parameters
visitor
(node, context) => void
__namedParameters?
worldMatrix?
Matrix4 = ...
Returns
void
remove()
remove(
child):this
Defined in: modules/engine/src/scenegraph/group-node.ts:88
Parameters
child
Returns
this
removeAll()
removeAll():
this
Defined in: modules/engine/src/scenegraph/group-node.ts:97
Returns
this
setMatrix()
setMatrix(
matrix,copyMatrix?):void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:83
Parameters
matrix
any
copyMatrix?
boolean = true
Returns
void
Inherited from
setMatrixComponents()
setMatrixComponents(
components):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:91
Parameters
components
position?
any
rotation?
any
scale?
any
update?
boolean
Returns
this
Inherited from
ScenegraphNode.setMatrixComponents
setPosition()
setPosition(
position):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:65
Parameters
position
any
Returns
this
Inherited from
setProps()
setProps(
props):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:56
Parameters
props
ScenegraphNodeProps
Returns
this
Inherited from
setRotation()
setRotation(
rotation):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:71
Parameters
rotation
any
Returns
this
Inherited from
setScale()
setScale(
scale):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:77
Parameters
scale
any
Returns
this
Inherited from
toString()
toString():
string
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:61
Returns
string
Inherited from
traverse()
traverse(
visitor,__namedParameters?):void
Defined in: modules/engine/src/scenegraph/group-node.ts:150
Parameters
visitor
(node, context) => void
__namedParameters?
worldMatrix?
Matrix4 = ...
Returns
void
traverseDepthSorted()
traverseDepthSorted(
visitor,__namedParameters):void
Defined in: modules/engine/src/scenegraph/group-node.ts:173
Visits leaf nodes ordered by the camera-space centers of their aggregate bounds.
Parameters
visitor
(node, context) => void
__namedParameters
Returns
void
update()
update(
__namedParameters?):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:127
Parameters
__namedParameters?
position?
any
rotation?
any
scale?
any
Returns
this
Inherited from
updateMatrix()
updateMatrix():
this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:113
Returns
this