// %BANNER_BEGIN% // --------------------------------------------------------------------- // %COPYRIGHT_BEGIN% // Copyright (c) (2018-2022) Magic Leap, Inc. All Rights Reserved. // Use of this file is governed by the Software License Agreement, located here: https://www.magicleap.com/software-license-agreement-ml2 // Terms and conditions applicable to third-party materials accompanying this distribution may also be found in the top-level NOTICE file appearing herein. // %COPYRIGHT_END% // --------------------------------------------------------------------- // %BANNER_END% namespace UnityEngine.XR.MagicLeap { public partial class MLGazeRecognition { /// /// A set of mutually-exclusive behaviors that the Gaze Recognition system can report. /// public enum Behavior { /// /// Unknown. /// Unknown, /// /// Both eyes closed. /// EyesClosed, /// /// Blink detected. /// Blink, /// /// User is fixating, eye position is stable. /// Fixation, /// /// User is pursuing, eye velocity is low but nonzero. /// Pursuit, /// /// User is making a saccade, eye velocity is high. /// Saccade, /// /// User is winking with the left eye /// WinkLeft, /// /// User is winking with the right eye /// WinkRight }; /// /// A set of possible error codes that the Gaze Recognition system can report. /// public enum Error { /// /// No error, tracking is nominal. /// None, /// /// Gaze Recognition system failed. /// Generic, }; } }