Version: 2019.2
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ParticleSystemJobData

struct in UnityEngine.Experimental.ParticleSystemJobs

/

Implemented in:UnityEngine.ParticleSystemModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.