docs.unity3d.com
    Show / Hide Table of Contents

    Age Over Lifetime

    Menu Path : Operator > Attribute > Age over Lifetime

    The Age Over Lifetime Operator returns the age of a particle relative to its lifetime, as a value between 0.0 and 1.0.

    t = age / lifetime
    

    Operator properties

    Output Type Description
    t float The age of the particle relative to its lifetime.

    Details

    If the system you use this Operator in does not include either age or lifetime, Unity uses the default attribute values instead.

    • Age defaults to 0.
    • Lifetime defaults to 1.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023