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.

OpenXRSpatialCapabilityConfigurationBaseHeader๏ƒ

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

Inherits: RefCounted < Object

Inherited By: OpenXRSpatialCapabilityConfigurationAnchor, OpenXRSpatialCapabilityConfigurationAprilTag, OpenXRSpatialCapabilityConfigurationAruco, OpenXRSpatialCapabilityConfigurationMicroQrCode, OpenXRSpatialCapabilityConfigurationPlaneTracking, OpenXRSpatialCapabilityConfigurationQrCode

Wrapper base class for OpenXR Spatial Capability Configuration headers.

Description๏ƒ

Wrapper base class for OpenXR Spatial Capability Configuration headers. This class needs to be implemented for each capability configuration structure usable within OpenXR's spatial entities system.

Methods๏ƒ

int

_get_configuration() virtual

bool

_has_valid_configuration() virtual const

bool

has_valid_configuration() const


Method Descriptions๏ƒ

int _get_configuration() virtual ๐Ÿ”—

Return a pointer (encoded as an int64_t) to a struct holding the spatial capability configuration data. The memory for this struct should remain accessible as long as this object remains instantiated.


bool _has_valid_configuration() virtual const ๐Ÿ”—

Return true if this object contains a valid configuration that can be retrieved when calling _get_configuration().


bool has_valid_configuration() const ๐Ÿ”—

Returns true if this object contains a valid configuration that can be used when calling OpenXRSpatialEntityExtension.create_spatial_context().