Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

MinMaxGradientThe color gradient being used to generate custom color data.

Remarks