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.
Checking the stable version of the documentation...
OpenXRSpatialComponentPolygon2DList
Sperimentale: This class may be changed or removed in future versions.
Eredita: OpenXRSpatialComponentData < RefCounted < Object
Object for storing the queries polygon2d result data.
Descrizione
Oggetto per memorizzare i dati risultanti di una richiesta sui poligoni 2D quando si chiama OpenXRSpatialEntityExtension.query_snapshot().
Metodi
get_transform(index: int) const |
|
get_vertices(snapshot: RID, index: int) const |
Descrizioni dei metodi
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.