docs.unity.cn
    Show / Hide Table of Contents

    Struct Eyes

    Represents a pair of tracked eyes.

    Namespace: UnityEngine.InputSystem.XR
    Syntax
    public struct Eyes

    Properties

    fixationPoint

    The point in 3D space that the pair of eyes is looking.

    Declaration
    public Vector3 fixationPoint { get; set; }
    Property Value
    Type Description
    Vector3

    leftEyeOpenAmount

    The amount [0-1] the left eye is open or closed. 1.0 is fully open.

    Declaration
    public float leftEyeOpenAmount { get; set; }
    Property Value
    Type Description
    Single

    leftEyePosition

    The tracked position of the left eye.

    Declaration
    public Vector3 leftEyePosition { get; set; }
    Property Value
    Type Description
    Vector3

    leftEyeRotation

    The tracked rotation of the left eye.

    Declaration
    public Quaternion leftEyeRotation { get; set; }
    Property Value
    Type Description
    Quaternion

    rightEyeOpenAmount

    The amount [0-1] the right eye is open or closed. 1.0 is fully open.

    Declaration
    public float rightEyeOpenAmount { get; set; }
    Property Value
    Type Description
    Single

    rightEyePosition

    The tracked position of the right eye.

    Declaration
    public Vector3 rightEyePosition { get; set; }
    Property Value
    Type Description
    Vector3

    rightEyeRotation

    The tracked rotation of the right eye.

    Declaration
    public Quaternion rightEyeRotation { get; set; }
    Property Value
    Type Description
    Quaternion
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Tuesday, November 2, 2021
    Terms of use