Panda3D
Public Member Functions | Static Public Member Functions

ColorInterpolationFunctionStepwave Class Reference

Defines a discrete cyclical transition between two colors. More...

Inheritance diagram for ColorInterpolationFunctionStepwave:
ColorInterpolationFunctionLinear ColorInterpolationFunctionConstant ColorInterpolationFunction

List of all members.

Public Member Functions

VBase4 getColorA ()
 Returns the primary color of the function.
VBase4 getColorB ()
 Returns the secondary color of the function.
float getWidthA ()
 Returns the primary width of the function.
float getWidthB ()
 Returns the secondary width of the function.
 setColorA (VBase4 const c)
 Sets the primary color of the function.
 setColorB (VBase4 const c)
 Sets the secondary color of the function.
 setWidthA (float w)
 Sets the primary width of the function.
 setWidthB (float w)
 Sets the secondary width of the function.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed 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.


Member Function Documentation

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 getWidthA ( )

Returns the primary width of the function.

float getWidthB ( )

Returns the secondary width of the function.

setColorA ( VBase4 const  c) [inherited]

Sets the primary color of the function.

setColorB ( VBase4 const  c) [inherited]

Sets the secondary color of the function.

setWidthA ( float  w)

Sets the primary width of the function.

setWidthB ( float  w)

Sets the secondary width of the function.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties