Nodes > Particles > Particle ( Get Attribute )
Gets the value of a particle attribute. Use the Attribute drop-down menu to choose what attribute to return.
The particle attributes available from this node are:
- Position (vec3): the particle position
- Velocity (vec3): the particle velocity
- Age (float): how long the particle has been alive, in second
- Life (float): the lifespan of the particle, in seconds
- Force (vec3): external force acting on the particle
- Delay (float): a small offset added to the spawn time of the particle
- Seed (float): a unique per-particle seed value
- Mass (float): the mass of the particle
- Color (rgba): the color of the particle
- Size (float): the size of the particle
- Index (int): the particle ID
- Index Ratio (float): a normalized 0-1 value of Index (particle ID/max particles)
- Matrix (mat4): the particle transformation matrix
- Custom (set by the user): a custom attribute, defined on Modify Attribute nodes
- Spawned (bool): whether or not the particle has spawned
Outputs
Name | Type | Description |
---|---|---|
Position | float | Value to output |
Position | matrix | Value to output |
Properties
Name | Type | Description |
---|---|---|
Attribute | dropdown | Particle attribute to retrieve |
Access | dropdown | When Custom is selected, this chooses the graph level in which the custom attribute exists. Local will look for custom attributes set to Local, while Global will look for custom attributes set to Global. |
Was this page helpful?