文档

Unity Engine

Unity Engine

GetColor(ParticleSystemCustomData)

Get a ParticleSystem.MinMaxGradient, that is being used to generate custom HDR color data.
阅读时间1 分钟最后更新于 1 个月前

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