Class: GeometryNode
Defined in: modules/engine/src/scenegraph/geometry-node.ts:12
Retained CPU geometry shared by render adapters and collider cooking.
Extends
Constructors
Constructor
new GeometryNode(
props):GeometryNode
Defined in: modules/engine/src/scenegraph/geometry-node.ts:14
Parameters
props
Returns
GeometryNode
Overrides
Properties
display
display:
boolean=true
Defined in: modules/engine/src/scenegraph/scenegraph-node.ts:36
Inherited from
geometry
readonlygeometry:Geometry
Defined in: modules/engine/src/scenegraph/geometry-node.ts:13
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
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
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/scenegraph-node.ts:67
Returns
void
Inherited from
getBounds()
getBounds():
ScenegraphBounds|null
Defined in: modules/engine/src/scenegraph/geometry-node.ts:19
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
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
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