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.

OpenXRSpatialCapabilityConfigurationPlaneTracking

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

Eredita: OpenXRSpatialCapabilityConfigurationBaseHeader < RefCounted < Object

Intestazione di configurazione per il tracciamento dei piani.

Descrizione

Intestazione di configurazione per il tracciamento dei piani. Passala a OpenXRSpatialEntityExtension.create_spatial_context() per creare un contesto spaziale con capacità di tracciamento dei piani.

Metodi

PackedInt64Array

get_enabled_components() const

bool

supports_labels()

bool

supports_mesh_2d()

bool

supports_polygons()


Descrizioni dei metodi

PackedInt64Array get_enabled_components() const 🔗

Returns the components enabled by this configuration.

Note: Only valid after this configuration was used to create a spatial context.


bool supports_labels() 🔗

Returns true if we support the plane semantic label component (only valid after the OpenXR session has started). You can query these using the OpenXRSpatialComponentPlaneSemanticLabelList data object.


bool supports_mesh_2d() 🔗

Returns true if we support the mesh 2D component (only valid after the OpenXR session has started). You can query these using the OpenXRSpatialComponentMesh2DList data object.


bool supports_polygons() 🔗

Returns true if we support the polygon 2D component (only valid after the OpenXR session has started). You can query these using the OpenXRSpatialComponentPolygon2DList data object.