OpenXRSpatialComponentBounded2DList
Inherits: OpenXRSpatialComponentData < RefCounted < Object
Description
Section titled “Description”Object for storing the queries bounded2d result data.
Object for storing the queries 2D bounding rectangle result data when calling OpenXRSpatialEntityExtension.query_snapshot().
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| Transform3D | get_center_pose(index: int) const |
| Vector2 | get_size(index: int) const |
Method descriptions
Section titled “Method descriptions”get_center_pose
Transform3D get_center_pose(index: int) const
Returns the center of our bounding rectangle for the entity at this index.
get_size
Vector2 get_size(index: int) const
Returns the size of our bounding rectangle for the entity at this index.
