Skip to main content
Version: 12 Dec 2024

MLEyeCalibration

NameSpace: MagicLeap

MLEyeCalibration Summary placeholder. More...

Inherits from:
MLAutoAPISingleton< MLEyeCalibration >,
MLLazySingleton< T >

Detailed Description

public class MLEyeCalibration : MLAutoAPISingleton< MLEyeCalibration > 

Details*

MLEyeCalibration description goes here.


Public Methods

MLResult GetState

Gets information about the user's current eye calibration.

public static MLResult GetState(
out State state
)

Parameters

TypeNameDescription
out StatestateA struct representing the eye calibration state.

Protected Methods

OnApplicationPause

Handle Unity application pause and resume

protected virtual override void OnApplicationPause(
bool pauseStatus
)

Parameters

TypeNameDescription
boolpauseStatusIf the application is now paused or not

Reimplements: OnApplicationPause


StartAPI

Start the API.

protected virtual override MLResult.Code StartAPI()

Reimplements: StartAPI


StopAPI

Stop the API.

protected virtual override MLResult.Code StopAPI()

Reimplements: StopAPI


Public Enums

Status

A set of possible eye calibration codes that the eye calibration system can report.

EnumeratorValueDescription
NoneNo valid calibration was found for eyes.
CoarseCalibration is of lower accuracy.
FineCalibration is of higher accuracy.