This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

ParticleSystemJobData

struct in UnityEngine.Experimental.ParticleSystemJobs

/

Implemented in:UnityEngine.ParticleSystemModule

Description

The struct containing all the per-particle data.

Properties

aliveTimePercentHow long each particle has been alive.
countThe number of particles alive in the system.
customData1When using the Custom Data module, or when calling SetCustomParticleData, this array contains the custom data values.
customData2When using the Custom Data module, or when calling SetCustomParticleData, this array contains the custom data values.
inverseStartLifetimesThe lifetime of each particle, stored as 1.0f / lifetime.
positionsThe position of each particle.
randomSeedsThe random seed assigned to each particle.
rotationalSpeedsThe angular velocity of each particle.
rotationsThe rotation of each particle.
sizesThe size of each particle.
startColorsThe initial color of each particle.
velocitiesThe velocity of each particle.