GetVectorComponentCount(ParticleSystemCustomData)
Query how many ParticleSystem.MinMaxCurve elements are being used to generate this stream of custom data.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public int GetVectorComponentCount(ParticleSystemCustomData stream)
Parameters
The name of the custom data stream to retrieve the curve from.
Returns
Type | Description |
|---|---|
| int | The number of curves. |
Remarks
Additional Resources: ParticleSystem.CustomDataModule.SetVectorComponentCount, ParticleSystem.GetCustomParticleData.