Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# ColorInterpolationFunctionStepwave Class Reference

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

Inheritance diagram for ColorInterpolationFunctionStepwave:

List of all members.

## Public Member Functions
float | getWidthA ()
| Returns the primary width of the function.
float | getWidthB ()
| Returns the secondary width 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.

float getWidthA | ( |  | ) |

Returns the primary width of the function.

float getWidthB | ( |  | ) |

Returns the secondary width 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