scene.shape
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
def get(
*,
node: types.scene.Node,
_transaction_id: str | None = None
) -> types.scene.Shape | NoneRead the current scene value, including ephemeral edits.
Returns Shape | 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) -> NoneRemove this component without changing the node’s other component types.
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,
shape: types.scene.Shape,
_transaction_id: str | None = None
) -> NoneReplace this component without changing the node’s other component types.
Returns None.