# ColorInterpolationFunctionSinusoid

from pandac.PandaModules import ColorInterpolationFunctionSinusoid

Class : ColorInterpolationFunctionSinusoid
Description : 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.

## Inheritance:

ColorInterpolationFunctionSinusoid: ColorInterpolationFunctionLinear
ColorInterpolationFunctionLinear: ColorInterpolationFunctionConstant
ColorInterpolationFunctionConstant: ColorInterpolationFunction
ColorInterpolationFunction:

## Methods of ColorInterpolationFunctionSinusoid:

getClassType
getPeriod
setPeriod

## Methods of ColorInterpolationFunctionLinear:

getClassType
getColorB
setColorB

## Methods of ColorInterpolationFunctionConstant:

getClassType
getColorA
setColorA

getClassType static TypeHandle ColorInterpolationFunctionSinusoid::get_class_type(void); Undocumented function.

getPeriod float ColorInterpolationFunctionSinusoid::get_period(void) const; Description : Returns the time to transition from A to B then back to A again.

setPeriod void ColorInterpolationFunctionSinusoid::set_period(float const p); Description : Sets the time to transition from A to B then back to A again.

getClassType static TypeHandle ColorInterpolationFunctionLinear::get_class_type(void); Undocumented function.

getColorB LVecBase4f ColorInterpolationFunctionLinear::get_color_b(void) const; Description : Returns the secondary color of the function.

setColorB void ColorInterpolationFunctionLinear::set_color_b(LVecBase4f const c); Description : Sets the secondary color of the function.

getClassType static TypeHandle ColorInterpolationFunctionConstant::get_class_type(void); Undocumented function.

getColorA LVecBase4f ColorInterpolationFunctionConstant::get_color_a(void) const; Description : Returns the primary color of the function.

setColorA void ColorInterpolationFunctionConstant::set_color_a(LVecBase4f const c); Description : Sets the primary color of the function.