docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetInteractionStrength

    GetInteractionStrength(IXRInteractor)

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

    Declaration
    public float GetInteractionStrength(IXRInteractor interactor)
    Parameters
    Type Name Description
    IXRInteractor interactor

    The specific interactor to get the interaction strength between.

    Returns
    Type Description
    float

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

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