Skip to main content
Version: 12 Dec 2024

MLEyes

Public Methods

void GetEyeDataInDeviceCoords

public static void GetEyeDataInDeviceCoords(
out DeviceCenteredEyeData deviceCenteredEyeData
)

Parameters

TypeNameDescription
out DeviceCenteredEyeDatadeviceCenteredEyeData

void GetStaticData

public static void GetStaticData(
out StaticData staticData
)

Parameters

TypeNameDescription
out StaticDatastaticData

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

TypeNameDescription
InputDeviceeyesDevice
out Statestate