API reference
OpenXRSpatialComponentBounded3DList
Inherits: OpenXRSpatialComponentData < Shared < Object
Object for storing the queries bounded3d result data.
Description
Section titled “Description”Object for storing the queries 3d bounding box result data when calling OpenXRSpatialEntityExtension.query_snapshot().
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| Transform3D | get_center_pose(index) |
| Vector3 | get_size(index) |
Method descriptions
Section titled “Method descriptions”get_center_pose
Section titled “get_center_pose”Transform3D get_center_pose(index: int) const
Returns the center of our bounding box for the entity at this index.
get_size
Section titled “get_size”Vector3 get_size(index: int) const
Returns the size of our bounding box for the entity at this index.