Skip to content

scene.visibility

3 functions / 4 types

Index

FunctionDescription
GetRead the current scene value, including ephemeral edits.
RemoveClear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility.
SetReplace this component without changing the node’s other component types.
TypeDescription
GetVisibilityRead the current scene value, including ephemeral edits.
GetVisibilityResponse
RemoveVisibilityClear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility.
SetVisibilityReplace this component without changing the node’s other component types.

Get

RPC

Get(request: scene.visibility.GetVisibility) -> scene.visibility.GetVisibilityResponse

Read the current scene value, including ephemeral edits.

Service method: spatialengine.v1.scene.visibility.SceneVisibility.Get.

Returns scene.visibility.GetVisibilityResponse.

node : scene.Node

The scene node, rather than an internal render entity.

Remove

RPC

Remove(request: scene.visibility.RemoveVisibility) -> google.protobuf.Empty

Clear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility.

Service method: spatialengine.v1.scene.visibility.SceneVisibility.Remove.

Returns google.protobuf.Empty.

node : scene.Node

The scene node, rather than an internal render entity.

Set

RPC

Set(request: scene.visibility.SetVisibility) -> google.protobuf.Empty

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

Service method: spatialengine.v1.scene.visibility.SceneVisibility.Set.

Returns google.protobuf.Empty.

node : scene.Node

The scene node, rather than an internal render entity.

visibility : scene.Visibility

The complete replacement value; optional fields use their component defaults.

GetVisibility

Message

Read the current scene value, including ephemeral edits.

node : scene.Node

The scene node, rather than an internal render entity.

GetVisibilityResponse

Message

value optional : scene.Visibility

RemoveVisibility

Message

Clear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility.

node : scene.Node

The scene node, rather than an internal render entity.

SetVisibility

Message

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

node : scene.Node

The scene node, rather than an internal render entity.

visibility : scene.Visibility

The complete replacement value; optional fields use their component defaults.