docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Process

    Process(IXRInteractor, IXRInteractable, float)

    Called by the host object (XRBaseInteractable) to calculate the interaction strength between the given Interactor and Interactable.

    Declaration
    float Process(IXRInteractor interactor, IXRInteractable interactable, float interactionStrength)
    Parameters
    Type Name Description
    IXRInteractor interactor

    The Interactor interacting.

    IXRInteractable interactable

    The Interactable interacting with the interactor.

    float interactionStrength

    The input interaction strength.

    Returns
    Type Description
    float

    Returns the modified interaction strength that is the result of passing the interaction strength through the filter.

    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)