# ColorInterpolationFunctionStepwave

from pandac.PandaModules import ColorInterpolationFunctionStepwave

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

## Inheritance:

ColorInterpolationFunctionStepwave: ColorInterpolationFunctionLinear
ColorInterpolationFunctionLinear: ColorInterpolationFunctionConstant
ColorInterpolationFunctionConstant: ColorInterpolationFunction
ColorInterpolationFunction:

## Methods of ColorInterpolationFunctionStepwave:

getClassType
getWidthA
getWidthB
setWidthA
setWidthB

## Methods of ColorInterpolationFunctionLinear:

getClassType
getColorB
setColorB

## Methods of ColorInterpolationFunctionConstant:

getClassType
getColorA
setColorA

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

getWidthA float ColorInterpolationFunctionStepwave::get_width_a(void) const; Description : Returns the primary width of the function.

getWidthB float ColorInterpolationFunctionStepwave::get_width_b(void) const; Description : Returns the secondary width of the function.

setWidthA void ColorInterpolationFunctionStepwave::set_width_a(float const w); Description : Sets the primary width of the function.

setWidthB void ColorInterpolationFunctionStepwave::set_width_b(float const w); Description : Sets the secondary width of the function.

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.