scene.visibility
3 functions / 4 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. |
| Type | Description |
|---|---|
| GetVisibility | Read the current scene value, including ephemeral edits. |
| GetVisibilityResponse | |
| RemoveVisibility | Clear the visibility override and restore inheritance from the parent. Subsequent reads return inherited visibility. |
| SetVisibility | Replace this component without changing the node’s other component types. |
Get
RPC
Get(request: scene.visibility.GetVisibility) -> scene.visibility.GetVisibilityResponseRead 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.EmptyClear 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.EmptyReplace 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.