Panda3D

- Main Page
- Packages
- Classes

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

Public Types | Public Member Functions | Static Public Member Functions

# CLerpInterval Class Reference

The base class for a family of intervals that linearly interpolate one or more numeric values over time. More...

Inheritance diagram for CLerpInterval:

List of all members.

## Public Types
enum | BlendType { BTNoBlend = 0, BTEaseIn = 1, BTEaseOut = 2, BTEaseInOut = 3, BTInvalid = 4 }
## Public Member Functions
BlendType | getBlendType ()
| Returns the blend type specified for the interval.
## Static Public Member Functions
static TypeHandle | getClassType ()
static BlendType | stringBlendType (string blend_type)
| Returns the BlendType enumerated value corresponding to the indicated string, or BT_invalid if the string doesn't match anything.

## Detailed Description

The base class for a family of intervals that linearly interpolate one or more numeric values over time.

## Member Enumeration Documentation

enum BlendType

Enumerator:

  BTNoBlend |
  BTEaseIn |
  BTEaseOut |
  BTEaseInOut |
  BTInvalid |

## Member Function Documentation

BlendType getBlendType | ( |  | ) |

Returns the blend type specified for the interval.

This controls how the linear interpolation behaves near the beginning and end of the lerp period.

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from CInterval.

Reimplemented in CLerpAnimEffectInterval, and CLerpNodePathInterval.

static BlendType stringBlendType | ( | string | blend_type | ) | `[static]`

Returns the BlendType enumerated value corresponding to the indicated string, or BT_invalid if the string doesn't match anything.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties