Script interface for a Particle.
Additional resources: ParticleSystem, ParticleSystem.GetParticles, ParticleSystem.SetParticles.
angularVelocity | The angular velocity of the particle. |
angularVelocity3D | The 3D angular velocity of the particle. |
animatedVelocity | The animated velocity of the particle. |
axisOfRotation | Mesh particles rotate around this axis. |
position | The position of the particle. |
randomSeed | The random seed of the particle. |
remainingLifetime | The remaining lifetime of the particle. |
rotation | The rotation of the particle. |
rotation3D | The 3D rotation of the particle. |
startColor | The initial color of the particle. The current color of the particle is calculated procedurally based on this value and the active color modules. |
startLifetime | The starting lifetime of the particle. |
startSize | The initial size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules. |
startSize3D | The initial 3D size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules. |
totalVelocity | The total velocity of the particle. |
velocity | The velocity of the particle, measured in units per second. |
GetCurrentColor | Calculate the current color of the particle by applying the relevant curves to its startColor property. |
GetCurrentSize | Calculate the current size of the particle by applying the relevant curves to its startSize property. |
GetCurrentSize3D | Calculate the current 3D size of the particle by applying the relevant curves to its startSize3D property. |
GetMeshIndex | Calculate the Mesh index of the particle, used for choosing which Mesh a particle is rendered with. |
SetMeshIndex | Sets the Mesh index of the particle, used for choosing which Mesh a particle is rendered with. |