scene.pointCloud
4 functions / 0 types
Index
| Function | Description |
|---|---|
| get | Read the current scene value, including ephemeral edits. |
| inspectLeaf | Reads an element of this node’s point cloud 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. |
get
get(args: { node: SceneNode }, transactionId?: string): Promise<ScenePointCloud | undefined>Read the current scene value, including ephemeral edits.
Returns Promise<ScenePointCloud | undefined>.
node : SceneNode
The scene node, rather than an internal render entity.
transactionId optional : string
inspectLeaf
inspectLeaf(args: { leaf: SceneLeafDescription; node: SceneNode }, transactionId?: string): Promise<SceneLeafInfo>Reads an element of this node’s point cloud component. Values that are still loading are reported in missing_attributes.
Returns: Position, size, and attribute values of one leaf.
Returns Promise<SceneLeafInfo>.
leaf : SceneLeafDescription
The element reported by a scene hit.
node : SceneNode
The scene node containing the component.
transactionId optional : string
remove
remove(args: { node: SceneNode }, transactionId?: string): Promise<void>Remove this component without changing the node’s other component types.
Returns Promise<void>.
node : SceneNode
The scene node, rather than an internal render entity.
transactionId optional : string
set
set(args: { node: SceneNode; pointCloud: ScenePointCloud }, transactionId?: string): Promise<void>Replace this component without changing the node’s other component types.
Returns Promise<void>.
node : SceneNode
The scene node, rather than an internal render entity.
pointCloud : ScenePointCloud
The complete replacement value; optional fields use their component defaults.
transactionId optional : string