Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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:
CInterval CLerpAnimEffectInterval CLerpNodePathInterval

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

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 CLerpNodePathInterval, and CLerpAnimEffectInterval.

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