# 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; Filename: colorInterpolationManager.I Created by: joswilso (02Jun05) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . 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.