docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EyeTrackingUsages

    Tags that can be used with TryGetFeatureValue(InputFeatureUsage<bool>, out bool) to get eye tracking related input features. See CommonUsages for additional usages.

    Inheritance
    object
    EyeTrackingUsages
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.OpenXR.Features.Interactions
    Assembly: solution.dll
    Syntax
    public static class EyeTrackingUsages

    Fields

    Name Description
    gazePosition

    The origin position for the gaze. The gaze represents where a user is looking, and gazePosition represents the starting location, close to the eyes, from which to project a gaze ray from.

    gazeRotation

    The orientation of the gaze, such that the direction of the gaze is the same as forward * gazeRotation. Use with gazePosition to create a gaze ray.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023