docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface IXROverridesGazeAutoSelect

    An interface that represents an interactable that provides overrides of the default values for hover to select and auto deselect.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: solution.dll
    Syntax
    public interface IXROverridesGazeAutoSelect

    Properties

    Name Description
    gazeTimeToSelect

    Number of seconds for which an XRGazeInteractor must hover over this interactable to select it if hoverToSelect is enabled.

    overrideGazeTimeToSelect

    Enables this interactable to override the hoverTimeToSelect on a XRGazeInteractor.

    overrideTimeToAutoDeselectGaze

    Enables this interactable to override the timeToAutoDeselect on a XRGazeInteractor.

    timeToAutoDeselectGaze

    Number of seconds that the interactable will remain selected by a XRGazeInteractor before being automatically deselected if overrideTimeToAutoDeselectGaze is true.

    See Also

    XRBaseInteractable
    GetHoverTimeToSelect(IXRInteractable)
    GetTimeToAutoDeselect(IXRInteractable)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)