docs.unity.cn
    Show / Hide Table of Contents

    Enum XRGazeInteractor.GazeAssistanceCalculation

    Defines the way the gaze assistance calculates and sizes the assistance area.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum GazeAssistanceCalculation

    Fields

    Name Description Value
    FixedSize

    Gaze assistance area will be a fixed size set in gazeAssistanceColliderFixedSize and scaled by gazeAssistanceColliderScale.


    0
    ColliderSize

    Gaze assistance area will be sized based on the bounds of the IXRInteractable this XRGazeInteractor is hovering over and scaled by gazeAssistanceColliderScale.


    1
    See Also
    gazeAssistanceCalculation
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, May 5, 2023