scene.visibility
3 functions / 0 types
Index
| Function | Description |
|---|---|
| get | Read the current scene value, including ephemeral edits. |
| remove | Clear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility. |
| set | Replace this component without changing the node’s other component types. |
get
get(args: { node: SceneNode }, transactionId?: string): Promise<SceneVisibility | undefined>Read the current scene value, including ephemeral edits.
Returns Promise<SceneVisibility | undefined>.
node : SceneNode
The scene node, rather than an internal render entity.
transactionId optional : string
remove
remove(args: { node: SceneNode }, transactionId?: string): Promise<void>Clear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility.
Returns Promise<void>.
node : SceneNode
The scene node, rather than an internal render entity.
transactionId optional : string
set
set(args: { node: SceneNode; visibility: SceneVisibility }, 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.
visibility : SceneVisibility
The complete replacement value; optional fields use their component defaults.
transactionId optional : string