CLerpInterval

from panda3d.direct import CLerpInterval
class CLerpInterval

Bases:

Bases: CInterval

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

Inheritance diagram

Inheritance diagram of CLerpInterval

enum BlendType
enumerator BT_no_blend = 0
enumerator BT_ease_in = 1
enumerator BT_ease_out = 2
enumerator BT_ease_in_out = 3
enumerator BT_invalid = 4
__init__(param0: CLerpInterval)
getBlendType() BlendType

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 getClassType() panda3d.core.TypeHandle
static stringBlendType(blend_type: str) BlendType

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