OpenXRSpatialComponentBounded2DList

实验性: This class may be changed or removed in future versions.

继承: OpenXRSpatialComponentData < RefCounted < Object

Object for storing the queries bounded2d result data.

描述

Object for storing the queries 2D bounding rectangle result data when calling OpenXRSpatialEntityExtension.query_snapshot().

方法

Transform3D

get_center_pose(index: int) const

Vector2

get_size(index: int) const


方法说明

Transform3D get_center_pose(index: int) const 🔗

Returns the center of our bounding rectangle for the entity at this index.


Vector2 get_size(index: int) const 🔗

Returns the size of our bounding rectangle for the entity at this index.