|
Rumba C++ SDK
|
An anim curve key. More...
#include <AnimCurve.h>
Classes | |
| class | Tangent |
Public Member Functions | |
| MAQUINA_EXPORT | Key (float frame, float value) |
| Construct a key with automatic tangents. More... | |
| MAQUINA_EXPORT | Key (const Imath::V2f &key) |
| Construct a key with automatic tangents. More... | |
| MAQUINA_EXPORT | Key (const Imath::V2f &key, const Tangent &right) |
| Construct a key with the right tangent. More... | |
| MAQUINA_EXPORT | Key (const Imath::V2f &key, const Tangent &left, const Tangent &right, bool broken_tangents=true, bool selected=false) |
| Construct a key with both tangents, set broken_tangents to true. More... | |
Public Attributes | |
| Imath::V2f | key |
| The key, x is the frame, y the value. More... | |
| Tangent | left |
| The left tangent. More... | |
| Tangent | right |
| The right tangent. More... | |
| bool | broken_tangents = false |
| Broken tangent. More... | |
| bool | selected = false |
| Is the key selected in the curve editor. More... | |
An anim curve key.
| MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key | ( | float | frame, |
| float | value | ||
| ) |
Construct a key with automatic tangents.
| MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key | ( | const Imath::V2f & | key | ) |
Construct a key with automatic tangents.
| MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key | ( | const Imath::V2f & | key, |
| const Tangent & | right | ||
| ) |
Construct a key with the right tangent.
The left tangent is the inverse of the right one, set broken_tangents to false.
| MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key | ( | const Imath::V2f & | key, |
| const Tangent & | left, | ||
| const Tangent & | right, | ||
| bool | broken_tangents = true, |
||
| bool | selected = false |
||
| ) |
Construct a key with both tangents, set broken_tangents to true.
| bool maquina::AnimCurveFloat::Key::broken_tangents = false |
Broken tangent.
| Imath::V2f maquina::AnimCurveFloat::Key::key |
The key, x is the frame, y the value.
| Tangent maquina::AnimCurveFloat::Key::left |
The left tangent.
| Tangent maquina::AnimCurveFloat::Key::right |
The right tangent.
| bool maquina::AnimCurveFloat::Key::selected = false |
Is the key selected in the curve editor.