49 std::vector<int> selected_keys()
const;
52 int key_index(
float t)
const;
55 int previous_key(
float t)
const;
58 int next_key(
float t)
const;
70 Key(Impl* curve,
size_t index) : _curve(curve), _index(index) {}
77 size_t insert_key(
const Key& key,
bool before=
true);
89 void normalize(
bool repeat);
92 AnimCurve(std::shared_ptr<Impl> impl) { _impl=impl; }
165 const Key operator[](
size_t n)
const;
168 void set_key(
size_t n,
const Key& key);
175 float interpolate(
float t,
CycleMode left_mode=CycleMode::constant,
CycleMode right_mode=CycleMode::constant)
const;
Definition: AnimCurve.h:95
const Key operator[](size_t i) const
Get a key.
Definition: AnimCurve.h:83
CycleMode
Definition: AnimCurve.h:22
CycleMode
Definition: AnimCurve.h:98
Quat< T > spline(const Quat< T > &q0, const Quat< T > &q1, const Quat< T > &q2, const Quat< T > &q3, T t)
Definition: ImathQuat.h:544
An anim curve key.
Definition: AnimCurve.h:117
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
An animation curve.
Definition: AnimCurve.h:31
Mode mode
Definition: AnimCurve.h:140
A curve key.
Definition: AnimCurve.h:61
#define MAQUINA_EXPORT
Definition: Export.h:31
Imath::V2f tangent
The key.
Definition: AnimCurve.h:139
Tangent right
The right tangent.
Definition: AnimCurve.h:161
Definition: ImathVec.h:61
MAQUINA_EXPORT Value copy_keys(Node &anim_layer)
Return a copy of the active key selection in a layer.
Imath::V2f key
The key.
Definition: AnimCurve.h:155
Tangent left
The left tangent.
Definition: AnimCurve.h:158
Mode
Definition: AnimCurve.h:123
MAQUINA_EXPORT int insert_key(const Plug &plug, float t, float v)
MAQUINA_EXPORT void remove_key(Plug &plug, const float frame)
Remove the key at frame in the active layer.
Definition: AnimCurve.h:120
Base class of all Rumba values.
Definition: Value.h:34