MLEyes
Public Methods
void GetEyeDataInDeviceCoords
public static void GetEyeDataInDeviceCoords(
out DeviceCenteredEyeData deviceCenteredEyeData
)
Parameters
Type | Name | Description |
---|---|---|
out DeviceCenteredEyeData | deviceCenteredEyeData |
void GetStaticData
public static void GetStaticData(
out StaticData staticData
)
Parameters
Type | Name | Description |
---|---|---|
out StaticData | staticData |
void StartTracking
Needs to be called in order to track eyes on the MagicLeap device. Required to be called only after the user has granted the eye tracking permission.
public static void StartTracking()
void StopTracking
public static void StopTracking()
bool TryGetState
public static bool TryGetState(
InputDevice eyesDevice,
out State state
)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | eyesDevice | |
out State | state |