Skip to content

OpenXRSpatialComponentData

Inherits: RefCounted < Object

Inherited by: OpenXRSpatialComponentAnchorList, OpenXRSpatialComponentBounded2DList, OpenXRSpatialComponentBounded3DList, OpenXRSpatialComponentMarkerList, OpenXRSpatialComponentMesh2DList, OpenXRSpatialComponentMesh3DList, OpenXRSpatialComponentParentList, OpenXRSpatialComponentPersistenceList, OpenXRSpatialComponentPlaneAlignmentList, OpenXRSpatialComponentPlaneSemanticLabelList, OpenXRSpatialComponentPolygon2DList, OpenXRSpatialQueryResultData

Object for storing OpenXR spatial entity component data.

Object for storing OpenXR spatial entity component data.

Returns Method
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)

_get_component_type

int _get_component_type() virtual const

Return the component type for the component we store data for.

_get_structure_data

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.

_set_capacity

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.

get_component_type

int get_component_type() const

Gets this OpenXRSpatialComponentData’s XrSpatialComponentTypeEXT.

set_capacity

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.