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
def get(
*,
node: types.scene.Node,
_transaction_id: str | None = None
) -> types.scene.Visibility | NoneRead the current scene value, including ephemeral edits.
Returns Visibility | None.
node : Node
The scene node, rather than an internal render entity.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
remove
def remove(*, node: types.scene.Node, _transaction_id: str | None = None) -> NoneClear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility.
Returns None.
node : Node
The scene node, rather than an internal render entity.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
set
def set(
*,
node: types.scene.Node,
visibility: types.scene.Visibility,
_transaction_id: str | None = None
) -> NoneReplace this component without changing the node’s other component types.
Returns None.
node : Node
The scene node, rather than an internal render entity.
visibility : Visibility
The complete replacement value; optional fields use their component defaults.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.