class
#include <OE/Math/ColorGradient.hpp>
ColorGradient Color gradient.
Contents
If no alpha stops are provided, the alpha value will be set to 1.
Constructors, destructors, conversion operators
Public functions
- void reset()
- void addAlphaStop(float time, float alpha)
- void addColorStop(float time, const Color3f& color)
- auto evaluate(float time) -> Color4f