docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDecayedSignal

    GetDecayedSignal(Vector3, bool, out Vector3, out Quaternion)

    Get the signal that a listener at a given position would perceive

    Declaration
    public bool GetDecayedSignal(Vector3 listenerPosition, bool use2D, out Vector3 pos, out Quaternion rot)
    Parameters
    Type Name Description
    Vector3 listenerPosition

    The listener's position in world space

    bool use2D

    True if distance calculation should ignore Z

    Vector3 pos

    The position impulse signal

    Quaternion rot

    The rotation impulse signal

    Returns
    Type Description
    bool

    true if non-trivial signal is returned

    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)