Skip to main content
Version: 12 Dec 2024

MagicLeapUserCalibrationFeature

NameSpace: UserCalibration

Inherits from:
MagicLeapOpenXRFeatureWithInterception< MagicLeapUserCalibrationFeature >,
MagicLeapOpenXRFeatureBase,
OpenXRFeature

Public Methods

bool EnableUserCalibrationEvents

public bool EnableUserCalibrationEvents(
bool enable
)

Parameters

TypeNameDescription
boolenable

bool GetLastEyeCalibration

public bool GetLastEyeCalibration(
out EyeCalibrationData data
)

Parameters

TypeNameDescription
out EyeCalibrationDatadata

bool GetLastHeadsetFit

public bool GetLastHeadsetFit(
out HeadsetFitData data
)

Parameters

TypeNameDescription
out HeadsetFitDatadata

Protected Methods

MarkFunctionsToIntercept

protected virtual override void MarkFunctionsToIntercept()

Reimplements: MarkFunctionsToIntercept


OnInstanceCreate

protected override bool OnInstanceCreate(
ulong xrInstance
)

Parameters

TypeNameDescription
ulongxrInstance

Public Attributes

FeatureId


public const string FeatureId = "com.magicleap.openxr.feature.ml2_usercalibration";


Public Enums

EyeCalibrationStatus

EnumeratorValueDescription
Unknown0
None
Coarse
Fine

HeadsetFitStatus

EnumeratorValueDescription
Unknown0
NotWorn
GoodFit
BadFit