Struct InitialColor
Sets the initial color of the particles by linearly interpolating between ColorMin and ColorMax by a random value between 0.0 and 1.0
Namespace: Unity.Tiny.Particles
Syntax
public struct InitialColor : IComponentData
Remarks
Should be placed next to ParticleEmitter
Fields
ColorMax
Declaration
public float4 ColorMax
Field Value
Type | Description |
---|---|
float4 |
ColorMin
Declaration
public float4 ColorMin
Field Value
Type | Description |
---|---|
float4 |