Skip to main content
Version: 21 Aug 2024

MagicLeapOpenXRFeatureBase

NameSpace: Features

Inherits from:
OpenXRFeature

Inherited by:
MagicLeap.OpenXR.Features.FacialExpressions.MagicLeapFacialExpressionFeature,
MagicLeap.OpenXR.Features.LightEstimation.MagicLeapLightEstimationFeature,
MagicLeap.OpenXR.Features.MagicLeapDepthRangeChangeFeature,
MagicLeap.OpenXR.Features.MagicLeapOpenXRFeatureWithInterception< T >,
MagicLeap.OpenXR.Features.MagicLeapReferenceSpacesFeature,
MagicLeap.OpenXR.Features.MagicLeapSecondaryViewSupportFeature,
MagicLeap.OpenXR.Features.MarkerUnderstanding.MagicLeapMarkerUnderstandingFeature,
MagicLeap.OpenXR.Features.Meshing.MagicLeapMeshingFeature,
MagicLeap.OpenXR.Features.Planes.MagicLeapPlanesFeature,
MagicLeap.OpenXR.Features.SpatialAnchors.MagicLeapSpatialAnchorsFeature,
MagicLeap.OpenXR.Features.SpatialAnchors.MagicLeapSpatialAnchorsStorageFeature,
MagicLeap.OpenXR.Features.SystemNotifications.MagicLeapSystemNotificationsFeature

Protected Fields

UsesExperimentalExtensions

Are any of the extensions used by this feature NOT yet included in the OpenXR Spec (1.0 or 1.1)?


protected bool UsesExperimentalExtensions { get; set; }


Protected Methods

CheckEnabledExtension

protected void CheckEnabledExtension(
string extensionName,
bool required =false
)

Parameters

TypeNameDescription
stringextensionName
boolrequired

OnAppSpaceChange

protected override void OnAppSpaceChange(
ulong xrSpace
)

Parameters

TypeNameDescription
ulongxrSpace

OnInstanceCreate

protected override bool OnInstanceCreate(
ulong xrInstance
)

Parameters

TypeNameDescription
ulongxrInstance

OnSessionBegin

protected override void OnSessionBegin(
ulong xrSession
)

Parameters

TypeNameDescription
ulongxrSession

OnSessionCreate

protected override void OnSessionCreate(
ulong xrSession
)

Parameters

TypeNameDescription
ulongxrSession

OnSessionDestroy

protected override void OnSessionDestroy(
ulong xrSession
)

Parameters

TypeNameDescription
ulongxrSession

OnSessionStateChange

protected override void OnSessionStateChange(
int oldState,
int newState
)

Parameters

TypeNameDescription
intoldState
intnewState

Protected Attributes

DependsOn


protected IEnumerable< Type > DependsOn => Enumerable.Empty<Type>();