Struct Eyes | Input System | 1.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Eyes

    Represents a pair of tracked eyes.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023