AnimCurve¶

-
class
AnimCurve¶ Bases:
rumba.ValueAn 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
-