ldk_keyframe_animation_source_pause
Pause playback while retaining the current position.
LDK_API void ldk_keyframe_animation_source_pause(LDKEntity root);
Parameters
LDKEntity root- Root entity containing the animation source.
Returns
Nothing.
Pause playback while retaining the current position.
LDK_API void ldk_keyframe_animation_source_pause(LDKEntity root);
LDKEntity rootNothing.
Start or resume the current animation and apply its current pose.
LDK_API bool ldk_keyframe_animation_source_play(LDKEntity root);
LDKEntity rootTrue if a live clip is selected and the component is enabled.
Set playback time and immediately evaluate the new pose without events.
LDK_API bool ldk_keyframe_animation_source_seek(
LDKEntity root,
float time
);
LDKEntity rootfloat timeTrue if a live clip is selected. Time is clamped to its duration.
Select the animation index used for subsequent playback.
LDK_API bool ldk_keyframe_animation_source_set_current(
LDKEntity root,
i32 index
);
LDKEntity rooti32 indexTrue for a valid index. Changing selection resets playback.
Stop playback, seek to zero and apply the initial pose.
LDK_API void ldk_keyframe_animation_source_stop(LDKEntity root);
LDKEntity rootNothing. Does not restore the pre-animation component values.