MagicLeapUserCalibrationFeature
NameSpace: UserCalibration
Inherits from:
MagicLeapOpenXRFeatureWithInterception< MagicLeapUserCalibrationFeature >,
MagicLeapOpenXRFeatureBase,
OpenXRFeature
Public Methods
bool EnableUserCalibrationEvents
public bool EnableUserCalibrationEvents(
bool enable
)
Parameters
Type | Name | Description |
---|---|---|
bool | enable |
bool GetLastEyeCalibration
public bool GetLastEyeCalibration(
out EyeCalibrationData data
)
Parameters
Type | Name | Description |
---|---|---|
out EyeCalibrationData | data |
bool GetLastHeadsetFit
public bool GetLastHeadsetFit(
out HeadsetFitData data
)
Parameters
Type | Name | Description |
---|---|---|
out HeadsetFitData | data |
Protected Methods
MarkFunctionsToIntercept
protected virtual override void MarkFunctionsToIntercept()
Reimplements: MarkFunctionsToIntercept
OnInstanceCreate
protected override bool OnInstanceCreate(
ulong xrInstance
)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrInstance |
Public Attributes
FeatureId
public const string FeatureId = "com.magicleap.openxr.feature.ml2_usercalibration";
Public Enums
EyeCalibrationStatus
Enumerator | Value | Description |
---|---|---|
Unknown | 0 | |
None | ||
Coarse | ||
Fine |
HeadsetFitStatus
Enumerator | Value | Description |
---|---|---|
Unknown | 0 | |
NotWorn | ||
GoodFit | ||
BadFit |