OrbitEngine::Math::ColorGradient class

Color gradient.

If no alpha stops are provided, the alpha value will be set to 1.

Constructors, destructors, conversion operators

ColorGradient()

Public functions

void reset()
void addAlphaStop(float time, float alpha)
void addColorStop(float time, const Color3f& color)
auto evaluate(float time) -> Color4f