docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetValueAt

    GetValueAt(float)

    Get the value of the envelope at a given time relative to the envelope start.

    Declaration
    public float GetValueAt(float offset)
    Parameters
    Type Name Description
    float offset

    Time in seconds from the envelope start

    Returns
    Type Description
    float

    Envelope amplitude. This will range from 0...1

    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)