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.

OpenXRSpatialComponentPolygon2DList

Expérimental : This class may be changed or removed in future versions.

Hérite de : 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().

Méthodes

Transform3D

get_transform(index: int) const

PackedVector2Array

get_vertices(snapshot: RID, index: int) const


Descriptions des méthodes

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.