GetColor(ParticleSystemCustomData)
Get a ParticleSystem.MinMaxGradient, that is being used to generate custom HDR color data.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public ParticleSystem.MinMaxGradient GetColor(ParticleSystemCustomData stream)
Parameters
The name of the custom data stream to retrieve the gradient from.
Returns
Type | Description |
|---|---|
| MinMaxGradient | The color gradient being used to generate custom color data. |
Remarks
Additional Resources: ParticleSystem.CustomDataModule.SetColor, ParticleSystem.GetCustomParticleData.