docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetInteractionStrength

    GetInteractionStrength(IXRInteractable)

    Gets the interaction strength between the given interactable and this interactor.

    Declaration
    public float GetInteractionStrength(IXRInteractable interactable)
    Parameters
    Type Name Description
    IXRInteractable interactable

    The specific interactable to get the interaction strength between.

    Returns
    Type Description
    float

    Returns a value [0.0, 1.0] of the interaction strength.

    Implements
    IXRInteractionStrengthInteractor.GetInteractionStrength(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)