Struct LifetimeColor
Modifies the Sprite2DRenderer's color by multiplying it's initial color by curve. The value of curve at time 0.0 defines the particle's color at the beginning of its lifetime. The value at time 1.0 defines the particle's color at the end of its lifetime.
Namespace: Unity.Tiny.Particles
Syntax
public struct LifetimeColor : IComponentData
Fields
curve
Entity with the [Bezier|Linear|Step]CurveColor component.
Declaration
public Entity curve
Field Value
Type | Description |
---|---|
Entity |