Skip to main content
Version: 5.x

Nodes > Particles > Particle ( Get Attribute )

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
  • Copy ID (int): the ID of the batched copy in the range [0..numCopies-1]

Outputs

NameTypeDescription
PositionfloatValue to output
PositionmatrixValue to output

Properties

NameTypeDescription
AttributedropdownParticle attribute to retrieve
AccessdropdownWhen 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?
Yes
No

AI-Powered Search