Defines a discrete cyclical transition between two colors. More...
Public Member Functions | |
float | getWidthA () |
Returns the primary width of the function. | |
float | getWidthB () |
Returns the secondary width of the function. | |
setWidthA (float w) | |
Sets the primary width of the function. | |
setWidthB (float w) | |
Sets the secondary width of the function. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
Defines a discrete cyclical transition between two colors.
The widths describe a portion of the segment's lifetime for which the corresponding color should be selected. If their sum is less than 1, the function repeats until the end of the segment.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from ColorInterpolationFunctionLinear.
float getWidthA | ( | ) |
Returns the primary width of the function.
float getWidthB | ( | ) |
Returns the secondary width of the function.
setWidthA | ( | float | w | ) |
Sets the primary width of the function.
setWidthB | ( | float | w | ) |
Sets the secondary width of the function.