Skip to content

scene.block_model

4 functions / 5 types

Index

FunctionDescription
GetRead the current scene value, including ephemeral edits.
InspectLeafReads an element of this node’s block model component. Values that are still loading are reported in missing_attributes.
RemoveRemove this component without changing the node’s other component types.
SetReplace this component without changing the node’s other component types.
TypeDescription
GetBlockModelRead the current scene value, including ephemeral edits.
GetBlockModelResponse
InspectLeafReads an element of this node’s block model component. Values that are still loading are reported in missing_attributes.
RemoveBlockModelRemove this component without changing the node’s other component types.
SetBlockModelReplace this component without changing the node’s other component types.

Get

RPC

Get(request: scene.block_model.GetBlockModel) -> scene.block_model.GetBlockModelResponse

Read the current scene value, including ephemeral edits.

Service method: spatialengine.v1.scene.block_model.SceneBlockModel.Get.

Returns scene.block_model.GetBlockModelResponse.

node : scene.Node

The scene node, rather than an internal render entity.

InspectLeaf

RPC

InspectLeaf(request: scene.block_model.InspectLeaf) -> scene.LeafInfo

Reads an element of this node’s block model component. Values that are still loading are reported in missing_attributes.

Service method: spatialengine.v1.scene.block_model.SceneBlockModel.InspectLeaf.

Returns scene.LeafInfo.

node : scene.Node

The scene node containing the component.

leaf : scene.LeafDescription

The element reported by a scene hit.

Remove

RPC

Remove(request: scene.block_model.RemoveBlockModel) -> google.protobuf.Empty

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

Service method: spatialengine.v1.scene.block_model.SceneBlockModel.Remove.

Returns google.protobuf.Empty.

node : scene.Node

The scene node, rather than an internal render entity.

Set

RPC

Set(request: scene.block_model.SetBlockModel) -> google.protobuf.Empty

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

Service method: spatialengine.v1.scene.block_model.SceneBlockModel.Set.

Returns google.protobuf.Empty.

node : scene.Node

The scene node, rather than an internal render entity.

block_model : scene.BlockModel

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

GetBlockModel

Message

Read the current scene value, including ephemeral edits.

node : scene.Node

The scene node, rather than an internal render entity.

GetBlockModelResponse

Message

value optional : scene.BlockModel

InspectLeaf

Message

Reads an element of this node’s block model component. Values that are still loading are reported in missing_attributes.

node : scene.Node

The scene node containing the component.

leaf : scene.LeafDescription

The element reported by a scene hit.

RemoveBlockModel

Message

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

node : scene.Node

The scene node, rather than an internal render entity.

SetBlockModel

Message

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

node : scene.Node

The scene node, rather than an internal render entity.

block_model : scene.BlockModel

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