Skip to content

scene.shape

3 functions / 0 types

Index

FunctionDescription
getRead the current scene value, including ephemeral edits.
removeRemove this component without changing the node’s other component types.
setReplace 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 | None

Read 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) -> None

Remove 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
) -> None

Replace this component without changing the node’s other component types.

Returns None.

node : Node

The scene node, rather than an internal render entity.

shape : Shape

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.