docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSignal

    GetSignal(float, out Vector3, out Quaternion)

    Get the signal value at a given time relative to signal start

    Declaration
    void GetSignal(float timeSinceSignalStart, out Vector3 pos, out Quaternion rot)
    Parameters
    Type Name Description
    float timeSinceSignalStart

    Time since signal start. Always >= 0

    Vector3 pos

    output for position component of the signal

    Quaternion rot

    output for rotation component of the signal. Use Quaternion.identity if none.

    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)