Enum HandleMode
Enum Documentation
-
enum class anim::HandleMode : uint8_t
How a keyframe’s Bézier handles (tangents) are computed and constrained.
The handle mode only applies to keyframes whose Function is Function::Bezier; for Function::Linear and Function::Constant the handles are derived automatically. In every mode the handle times are clamped so they cannot cross the neighbouring keyframes.
Values:
-
enumerator Flat
Horizontal tangents: handles share the keyframe value; their time is adjustable.
-
enumerator Smooth
Auto-computed collinear handles for a smooth (C1) curve, scaled by neighbour distance.
-
enumerator Aligned
In/out handles kept collinear (one straight tangent); magnitudes may differ.
-
enumerator Free
Fully independent (“broken”) handles; only time-clamped to neighbours.
-
enumerator AlignStrict
Aligned and symmetric: both handles forced to equal magnitude.
-
enumerator AlignFlex
Aligned, but each handle’s magnitude is clamped independently (symmetry may break).
-
enumerator AlignAdjustable
Aligned, where the shared magnitude follows the opposite handle while adjusting.
-
enumerator Count
Number of handle modes; not a selectable value.
-
enumerator Flat