GetVector(ParticleSystemCustomData, int)
Get a ParticleSystem.MinMaxCurve, that is being used to generate custom data.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public ParticleSystem.MinMaxCurve GetVector(ParticleSystemCustomData stream, int component)
Parameters
The name of the custom data stream to retrieve the curve from.
The component index to retrieve the curve for (0-3, mapping to the xyzw components of a Vector4 or float4).
Returns
Type | Description |
|---|---|
| MinMaxCurve | The curve being used to generate custom data. |
Remarks
Additional Resources: ParticleSystem.CustomDataModule.SetVector, ParticleSystem.GetCustomParticleData.