Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ParticleSystem.GetCustomParticleData

Switch to Manual

Declaration

public int GetCustomParticleData(List<Vector4> customData, ParticleSystemCustomData streamIndex);

Parameters

customData The array of per-particle data.
streamIndex Which stream to retrieve the data from.

Returns

int The amount of valid per-particle data.

Description

Get a stream of custom per-particle data.

Additional resources: ParticleSystem.SetCustomParticleData.