docs.unity.cn
    Show / Hide Table of Contents

    Class EyeTrackingUsages

    Tags that can be used with to get eye tracking related input features. See for additional usages.

    Inheritance
    Object
    EyeTrackingUsages
    Namespace: UnityEngine.XR.OpenXR.Features.Interactions
    Syntax
    public static class EyeTrackingUsages : object

    Fields

    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.

    Declaration
    public static InputFeatureUsage<Vector3> gazePosition
    Field Value
    Type Description
    InputFeatureUsage<Vector3>

    gazeRotation

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

    Declaration
    public static InputFeatureUsage<Quaternion> gazeRotation
    Field Value
    Type Description
    InputFeatureUsage<Quaternion>
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use