docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface IXRSelectFilter

    Instances that implement this interface are called select filters. Select filters process additional validation checks after the base class select validation checks are processed. Add a select filter to the following objects to extend its select validations:

    • XRInteractionManager: to add a global select filter used to validate all select interactions in the manager.
    • XRBaseInteractor: to add an Interactor select filter used to validate the select interactions in the Interactor.
    • XRBaseInteractable: to add an Interactable select filter used to validate the select interactions in the Interactable.
    Namespace: UnityEngine.XR.Interaction.Toolkit.Filtering
    Assembly: solution.dll
    Syntax
    public interface IXRSelectFilter

    Properties

    Name Description
    canProcess

    Whether this select filter can process interactions. Select filters that can process interactions receive calls to Process(IXRSelectInteractor, IXRSelectInteractable), select filters that cannot process do not.

    Methods

    Name Description
    Process(IXRSelectInteractor, IXRSelectInteractable)

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

    See Also

    startingSelectFilters
    selectFilters
    startingSelectFilters
    selectFilters
    startingSelectFilters
    selectFilters
    IXRHoverFilter
    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)