OpenXRSpatialCapabilityConfigurationMicroQrCode
Micro QR-code tracking configuration.
Configuration for CreateSpatialContext, not a detected Entity, tracker or OS permission. Requires the capability in a running OpenXR session. Constructor success and a selected dictionary do not mean the device detects that type. HasValidConfiguration checks current usability; context creation is separately asynchronous.
GetConfiguration returns a borrowed native pointer: neither substitute it for a RID nor retain it beyond resource lifetime. GetEnabledComponents reads selected components and can be empty before configuration building. Reading retrieves no room/marker data.
Source observation: repeated supported GetConfiguration appends Marker/Bounded2D without clearing and can duplicate entries. Use a fresh configuration for a new context instead of repeatedly probing the native getter. Not reproduced with a supported session.
Spatial-entity setup. Twelve Windows XR-off checks covered inactive configurations/dictionary metadata. Real headers/context/discovery, session changes and headsets remain untested. Engine unchanged.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
OpenXRSpatialCapabilityConfigurationMicroQrCodeConstructor
public OpenXRSpatialCapabilityConfigurationMicroQrCode();Creates a caller-owned RefCounted configuration, not a capability singleton/context. Starts no OpenXR, detector or requests. The component list is empty before supported GetConfiguration; keep the resource alive during native use. Dispose owned instances after use/releasing references, not engine-owned configurations.
Methods1
GetEnabledComponentslong[]
public long[] GetEnabledComponents();Copy of stored component types as long[], not marker payload. Supported GetConfiguration appends Marker and Bounded2D; empty beforehand. Current marker implementations append without clearing on repeated calls, potentially duplicating entries. Active behavior was not reproduced; create a fresh configuration for a new context instead of repeatedly probing GetConfiguration.
long[]Copy of stored component types as long[], not marker payload. Supported GetConfiguration appends Marker and Bounded2D; empty beforehand. Current marker implementations append without clearing on repeated calls, potentially duplicating entries. Active behavior was not reproduced; create a fresh configuration for a new context instead of repeatedly probing GetConfiguration.