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
Type | Name | Description |
---|---|---|
string | extensionName | |
bool | required |
OnAppSpaceChange
protected override void OnAppSpaceChange(
ulong xrSpace
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSpace |
OnInstanceCreate
protected override bool OnInstanceCreate(
ulong xrInstance
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrInstance |
OnSessionBegin
protected override void OnSessionBegin(
ulong xrSession
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession |
OnSessionCreate
protected override void OnSessionCreate(
ulong xrSession
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession |
OnSessionDestroy
protected override void OnSessionDestroy(
ulong xrSession
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession |
OnSessionStateChange
protected override void OnSessionStateChange(
int oldState,
int newState
)
Parameters
Type | Name | Description |
---|---|---|
int | oldState | |
int | newState |
Protected Attributes
DependsOn
protected IEnumerable< Type > DependsOn => Enumerable.Empty<Type>();