Color_Interpolation module

Color_Keyframe

structSource

One key of a gradient: color_rgb is a red, green, blue, alpha color with channels in [0, 1] (encoded like an ordinary image color, not linear light) and t its position in [0, 1]. A list of keys must be sorted by t ascending. Two keys at the same position make a hard step. Alpha is always blended linearly, whatever the color space.

Fields

color_rgb: Vector4
t: float

See also