GetCustomParticleData(List<Vector4>, ParticleSystemCustomData)
Get a stream of custom per-particle data.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public int GetCustomParticleData(List<Vector4> customData, ParticleSystemCustomData streamIndex)
Parameters
The array of per-particle data.
Which stream to retrieve the data from.
Returns
Type | Description |
|---|---|
| int | The amount of valid per-particle data. |
Remarks
Additional Resources: ParticleSystem.SetCustomParticleData.