scene.mesh
3 functions / 0 types
Index
| Function | Description |
|---|---|
| get | Read the current scene value, including ephemeral edits. |
| remove | Remove this component without changing the node’s other component types. |
| set | Replace this component without changing the node’s other component types. |
get
get(args: { node: SceneNode }, transactionId?: string): Promise<SceneMesh | undefined>Read the current scene value, including ephemeral edits.
Returns Promise<SceneMesh | undefined>.
node : SceneNode
The scene node, rather than an internal render entity.
transactionId optional : string
remove
remove(args: { node: SceneNode }, transactionId?: string): Promise<void>Remove this component without changing the node’s other component types.
Returns Promise<void>.
node : SceneNode
The scene node, rather than an internal render entity.
transactionId optional : string
set
set(args: { mesh: SceneMesh; node: SceneNode }, transactionId?: string): Promise<void>Replace this component without changing the node’s other component types.
Returns Promise<void>.