AnimCurve

Inheritance diagram of rumba.AnimCurve
class AnimCurve

Bases: rumba.Value

An animation curve.

Constructors

__init__

Methods

__getitem__ operator[](i: int) -> Key
__len__
copy_keys(keys) Duplicate a subset of the curve.
selected_keys() Return a vector of the selected key indices.
size() Returns the number of keys.
__getitem__()

operator[](i: int) -> Key

Get a key.

Return type:Key
copy_keys(keys) → AnimCurve

Duplicate a subset of the curve.

keys are the indices of the keys to include in the returned curve.

Return type:AnimCurve
selected_keys() -> list(int)

Return a vector of the selected key indices.

Return type:list(int)
size() → int

Returns the number of keys.

Return type:int