SpriteStackLighting.makeColorIfIsActive

Rgba makeColorIfIsActive(float lightingProgress) @safe nothrow @nogc

Returns a new color. Value lightingProgress should be between 0.0 and 1.0 (inclusive).

Rgba makeColorIfIsActive(uint layer, uint layerCount) @safe nothrow @nogc

Returns a new color. The lighting progress is layer / layerCount for this function.