Struct EmitterInitialColor
Sets the initial color of the particles by multiplying the color of the source particle by a random value obtained by sampling curve between time 0.0 and 1.0.
Namespace: Unity.Tiny.Particles
Syntax
public struct EmitterInitialColor : IComponentData
Fields
curve
Entity with the [Bezier|Linear|Step]CurveColor component. The color is choosen randomly by sampling the curve between time 0.0 and 1.0.
Declaration
public Entity curve
Field Value
Type | Description |
---|---|
Entity |