Defines a sinusoidal blending between two colors. More...
Public Member Functions | |
float | getPeriod () |
Returns the time to transition from A to B then back to A again. | |
setPeriod (float p) | |
Sets the time to transition from A to B then back to A again. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
Defines a sinusoidal blending between two colors.
A period of "1" corresponds to a single transition from color_a to color_b and then back to color_a over the course of the segment's lifetime. A shorter period will result in a higher frequency cycle.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from ColorInterpolationFunctionLinear.
float getPeriod | ( | ) |
Returns the time to transition from A to B then back to A again.
setPeriod | ( | float | p | ) |
Sets the time to transition from A to B then back to A again.