Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

OpenXRSpatialComponentMesh2DList

Sperimentale: This class may be changed or removed in future versions.

Eredita: OpenXRSpatialComponentData < RefCounted < Object

Object for storing the queries mesh2d result data.

Descrizione

Oggetto per memorizzare i dati risultanti di una richiesta sulle mesh 2D quando si chiama OpenXRSpatialEntityExtension.query_snapshot().

Metodi

PackedInt32Array

get_indices(snapshot: RID, index: int) const

Transform3D

get_transform(index: int) const

PackedVector2Array

get_vertices(snapshot: RID, index: int) const


Descrizioni dei metodi

PackedInt32Array get_indices(snapshot: RID, index: int) const 🔗

Returns the mesh indices for the entity at this index.


Transform3D get_transform(index: int) const 🔗

Returns the transform for positioning our mesh for the entity at this index.


PackedVector2Array get_vertices(snapshot: RID, index: int) const 🔗

Returns the mesh vertices for the entity at this index.