reckfellENGINE

OpenXRSpatialCapabilityConfigurationAnchor

Spatial-anchor parameters with optional persistence.

On this page
class OpenXRSpatialCapabilityConfigurationAnchorReckfellSharpInherits OpenXRSpatialCapabilityConfigurationBaseHeader

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.

Anchor is required; Persistence is added when supported. A configured component does not replace successful anchor persistence and UUID handling.

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

OpenXRSpatialCapabilityConfigurationAnchorConstructor
# OpenXRSpatialCapabilityConfigurationAnchor
C#
public OpenXRSpatialCapabilityConfigurationAnchor();

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[]
# GetEnabledComponents
C#
public long[] GetEnabledComponents();

Copy of current component types as long[]. Populated by supported GetConfiguration rather than the constructor; can be empty beforehand. Anchor adds Anchor and optional Persistence. Each rebuild clears the prior list. Reading requests no snapshot and proves no detected anchor.

Returns long[]

Copy of current component types as long[]. Populated by supported GetConfiguration rather than the constructor; can be empty beforehand. Anchor adds Anchor and optional Persistence. Each rebuild clears the prior list. Reading requests no snapshot and proves no detected anchor.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.