OpenXRSpatialComponentPolygon2DList๏
Experimental: This class may be changed or removed in future versions.
Inherits: OpenXRSpatialComponentData < RefCounted < Object
Object for storing the queries polygon2d result data.
Description๏
Object for storing the queries 2D polygon result data when calling OpenXRSpatialEntityExtension.query_snapshot().
Methods๏
get_transform(index: int) const |
|
get_vertices(snapshot: RID, index: int) const |
Method Descriptions๏
Transform3D get_transform(index: int) const ๐
Returns the transform for positioning our polygon for the entity at this index.
PackedVector2Array get_vertices(snapshot: RID, index: int) const ๐
Returns the polygon vertices for the entity at this index.