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 |