docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Process

    Process(IXRHoverInteractor, IXRHoverInteractable)

    Called by the host object (XRInteractionManager, XRBaseInteractor or XRBaseInteractable) to verify if the hover interaction between the given Interactor and Interactable can be performed.

    Declaration
    public bool Process(IXRHoverInteractor interactor, IXRHoverInteractable interactable)
    Parameters
    Type Name Description
    IXRHoverInteractor interactor

    The Interactor to validate the hover interaction.

    IXRHoverInteractable interactable

    The Interactable to validate the hover interaction.

    Returns
    Type Description
    bool

    Returns true when the given Interactor can hover the given Interactable. Otherwise, returns false.

    Implements
    IXRHoverFilter.Process(IXRHoverInteractor, IXRHoverInteractable)
    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)