OpenXRSpatialComponentMesh2DList
Inherits: OpenXRSpatialComponentData < RefCounted < Object
Description
Section titled “Description”Object for storing the queries mesh2d result data.
Object for storing the queries 2D mesh result data when calling OpenXRSpatialEntityExtension.query_snapshot().
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| PackedInt32Array | get_indices(snapshot: RID, index: int) const |
| Transform3D | get_transform(index: int) const |
| PackedVector2Array | get_vertices(snapshot: RID, index: int) const |
Method descriptions
Section titled “Method descriptions”get_indices
PackedInt32Array get_indices(snapshot: RID, index: int) const
Returns the mesh indices for the entity at this index.
get_transform
Transform3D get_transform(index: int) const
Returns the transform for positioning our mesh for the entity at this index.
get_vertices
PackedVector2Array get_vertices(snapshot: RID, index: int) const
Returns the mesh vertices for the entity at this index.
