docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Attribute Operators

    Get the data from particle attributes.

    Page Description
    Age Over Lifetime Get the age of a particle relative to its lifetime.
    Get Attribute: age Get the time since a particle spawned.
    Get Attribute: alive Get whether a particle is alive or not.
    Get Attribute: alpha Get the alpha value of a rendered particle.
    Get Attribute: angle Get the rotation of a particle.
    Get Attribute: angularVelocity Get the rotation speed of a particle.
    Get Attribute: axisX Get the x-axis of a particle.
    Get Attribute: axisY Get the y-axis of a particle.
    Get Attribute: axisZ Get the z-axis of a particle.
    Get Attribute: color Get the color of a particle.
    Get Attribute: direction Get the direction of a particle.
    Get Attribute: lifetime Get the amount of time a particle should live for.
    Get Attribute: mass Get the mass of a particle.
    Get Attribute: oldPosition Get the position of a particle before velocity is added.
    Get Attribute: particleCountInStrip Get the number of particles in a particle strip.
    Get Attribute: particleId Get a unique ID that identifies a particle.
    Get Attribute: particleIndexInStrip Get the index of a particle in its particle strip.
    Get Attribute: pivot Get the origin coordinates of a particle.
    Get Attribute: position Get the position of a particle.
    Get Attribute: scale Get the scale of the particle.
    Get Attribute: seed Get the random number value of a particle.
    Get Attribute: size Get the size of a particle.
    Get Attribute: spawnIndex Get the index of a particle when it spawned.
    Get Attribute: spawnTime Get the time that the particle spawned.
    Get Attribute: stripIndex Get the index of the particle strip a particle belongs to.
    Get Attribute: targetPosition Get the target coordinates of a particle.
    Get Attribute: texIndex Get the frame number from a flipbook texture a particle uses.
    Get Attribute: velocity Get the current velocity of a particle.
    Get Custom Attribute Get the value of a custom attribute.

    Additional resources

    • Attributes
    • Standard Attribute Reference
    • Attribute Blocks
    In This Article
    Back to top
    Copyright © 2025 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)