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:36
Inherited from
hoverable
hoverable:
boolean=true
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:40
Local hover eligibility, independent of visibility.
Inherited from
id
readonlyid:string
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:33
Inherited from
matrix
matrix:
Matrix4
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:34
Inherited from
metadata
metadata:
Record<string,unknown> ={}
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:45
Structured metadata associated with this scene node.
Inherited from
position
position:
Vector3
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:41
Inherited from
props
props:
ScenegraphNodeProps={}
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:48
Inherited from
rotation
rotation:
Vector3
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:42
Inherited from
scale
scale:
Vector3
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:43
Inherited from
selectable
selectable:
boolean=true
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:38
Local selection eligibility, independent of visibility.
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:46
Inherited from
Methods
_setScenegraphNodeProps()
_setScenegraphNodeProps(
props):void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:212
Parameters
props
ScenegraphNodeProps
Returns
void
Inherited from
ScenegraphNode._setScenegraphNodeProps
[dispose]()
[dispose]():
void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:63
Destroys the node when leaving a using scope.
Returns
void
Inherited from
add()
add(...
children):this
Defined in: modules/engine/src/scenegraph/group-node.ts:78
Parameters
children
...(ScenegraphNode | ScenegraphNode[])[]
Returns
this
delete()
delete():
void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:70
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:104
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:113
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:160
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:210
Parameters
visitor
(node, context) => void
__namedParameters?
worldMatrix?
Matrix4 = ...
Returns
void
remove()
remove(
child):this
Defined in: modules/engine/src/scenegraph/group-node.ts:89
Parameters
child
Returns
this
removeAll()
removeAll():
this
Defined in: modules/engine/src/scenegraph/group-node.ts:98
Returns
this
setMatrix()
setMatrix(
matrix,copyMatrix?):void
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:100
Parameters
matrix
any
copyMatrix?
boolean = true
Returns
void
Inherited from
setMatrixComponents()
setMatrixComponents(
components):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:108
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:82
Parameters
position
any
Returns
this
Inherited from
setProps()
setProps(
props):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:73
Parameters
props
ScenegraphNodeProps
Returns
this
Inherited from
setRotation()
setRotation(
rotation):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:88
Parameters
rotation
any
Returns
this
Inherited from
setScale()
setScale(
scale):this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:94
Parameters
scale
any
Returns
this
Inherited from
toString()
toString():
string
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:78
Returns
string
Inherited from
traverse()
traverse(
visitor,__namedParameters?):void
Defined in: modules/engine/src/scenegraph/group-node.ts:151
Parameters
visitor
(node, context) => void
__namedParameters?
worldMatrix?
Matrix4 = ...
Returns
void
traverseDepthSorted()
traverseDepthSorted(
visitor,__namedParameters):void
Defined in: modules/engine/src/scenegraph/group-node.ts:174
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:144
Parameters
__namedParameters?
position?
any
rotation?
any
scale?
any
Returns
this
Inherited from
updateMatrix()
updateMatrix():
this
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:130
Returns
this