scene.block_model
4 functions / 5 types
Index
| Function | Description |
|---|---|
| Get | Read the current scene value, including ephemeral edits. |
| InspectLeaf | Reads an element of this node’s block model component. Values that are still loading are reported in missing_attributes. |
| Remove | Remove this component without changing the node’s other component types. |
| Set | Replace this component without changing the node’s other component types. |
| Type | Description |
|---|---|
| GetBlockModel | Read the current scene value, including ephemeral edits. |
| GetBlockModelResponse | |
| InspectLeaf | Reads an element of this node’s block model component. Values that are still loading are reported in missing_attributes. |
| RemoveBlockModel | Remove this component without changing the node’s other component types. |
| SetBlockModel | Replace this component without changing the node’s other component types. |
Get
RPC
Get(request: scene.block_model.GetBlockModel) -> scene.block_model.GetBlockModelResponseRead 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.LeafInfoReads 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.EmptyRemove 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.EmptyReplace 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.