scene.polyline
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<ScenePolyline | undefined>Read the current scene value, including ephemeral edits.
Returns Promise<ScenePolyline | 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: { node: SceneNode; polyline: ScenePolyline }, transactionId?: string): Promise<void>Replace this component without changing the node’s other component types.
Returns Promise<void>.
node : SceneNode
The scene node, rather than an internal render entity.
polyline : ScenePolyline
The complete replacement value; optional fields use their component defaults.
transactionId optional : string