CLerpInterval

class CLerpInterval

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
CLerpInterval(CLerpInterval const&) = default
BlendType get_blend_type(void) const

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 get_class_type(void)
static BlendType string_blend_type(std::string const &blend_type)

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