MagicLeapOpenXRFeatureBase
NameSpace: MagicLeapSupport
Inherits from:
OpenXRFeature
Inherited by:
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapFacialExpressionFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapLocalizationMapFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapMarkerUnderstandingFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapMeshingFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapPlanesFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapReferenceSpacesFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapRenderingExtensionsFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapSpatialAnchorsFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapSpatialAnchorsStorageFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapSystemNotificationsFeature,
UnityEngine.XR.OpenXR.Features.MagicLeapSupport.MagicLeapUserCalibrationFeature
Public Methods
bool GetUnityPose
public bool GetUnityPose(
ulong space,
out Pose pose
)
Parameters
Type | Name | Description |
---|---|---|
ulong | space | |
out Pose | pose |
Protected Methods
CheckEnabledExtension
protected void CheckEnabledExtension(
string extensionName,
bool required =false
)
Parameters
Type | Name | Description |
---|---|---|
string | extensionName | |
bool | required |
GetFeatureId
protected virtual string GetFeatureId()
Reimplemented by: GetFeatureId, GetFeatureId, GetFeatureId, GetFeatureId, GetFeatureId, GetFeatureId, GetFeatureId
HookGetInstanceProcAddr
protected override IntPtr HookGetInstanceProcAddr(
IntPtr func
)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | func |
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 |
OnInstanceDestroy
protected override void OnInstanceDestroy(
ulong xrInstance
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrInstance |
OnSessionCreate
protected override void OnSessionCreate(
ulong xrSession
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession |
Protected Attributes
dependsOn
protected IEnumerable< Type > dependsOn => Enumerable.Empty<Type>();