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.

OpenXRSpatialComponentData

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

Hereda: RefCounted < Object

Heredado por: OpenXRSpatialComponentAnchorList, OpenXRSpatialComponentBounded2DList, OpenXRSpatialComponentBounded3DList, OpenXRSpatialComponentMarkerList, OpenXRSpatialComponentMesh2DList, OpenXRSpatialComponentMesh3DList, OpenXRSpatialComponentParentList, OpenXRSpatialComponentPersistenceList, OpenXRSpatialComponentPlaneAlignmentList, OpenXRSpatialComponentPlaneSemanticLabelList, OpenXRSpatialComponentPolygon2DList, OpenXRSpatialQueryResultData

Objeto para almacenar los datos del componente de entidad espacial de OpenXR.

Descripción

Objeto para almacenar los datos del componente de entidad espacial de OpenXR.

Métodos

int

_get_component_type() virtual const

int

_get_structure_data(next: int) virtual

void

_set_capacity(capacity: int) virtual

int

get_component_type() const

void

set_capacity(capacity: int)


Descripciones de Métodos

int _get_component_type() virtual const 🔗

Devuelve el tipo de componente para el que almacenamos datos.


int _get_structure_data(next: int) virtual 🔗

Return a pointer to the structure data that will be submitted along with the snapshot query. This pointer must remain valid as long as this object is instantiated.


void _set_capacity(capacity: int) virtual 🔗

Sets the expected capacity as provided by the spatial entities query system. Buffers should be initialized with the correct storage.


int get_component_type() const 🔗

Gets this OpenXRSpatialComponentData's XrSpatialComponentTypeEXT.


void set_capacity(capacity: int) 🔗

Sets the expected capacity as provided by the spatial entities query system. Buffers should be initialized with the correct storage.