Panda3D
|
Defines a sinusoidal blending between two colors. More...
Public Member Functions | |
VBase4 | getColorA () |
Returns the primary color of the function. | |
VBase4 | getColorB () |
Returns the secondary color of the function. | |
float | getPeriod () |
Returns the time to transition from A to B then back to A again. | |
setColorA (VBase4 const c) | |
Sets the primary color of the function. | |
setColorB (VBase4 const c) | |
Sets the secondary color of the function. | |
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.
VBase4 getColorA | ( | ) | [inherited] |
Returns the primary color of the function.
VBase4 getColorB | ( | ) | [inherited] |
Returns the secondary color of the function.
float getPeriod | ( | ) |
Returns the time to transition from A to B then back to A again.
setColorA | ( | VBase4 const | c | ) | [inherited] |
Sets the primary color of the function.
setColorB | ( | VBase4 const | c | ) | [inherited] |
Sets the secondary color of the function.
setPeriod | ( | float | p | ) |
Sets the time to transition from A to B then back to A again.