LDKKeyFrameAnimationSource
typedef struct LDKKeyFrameAnimationSource{
LDKAssetKeyframeAnimation *animations;
u32 animation_count;
u32 animation_capacity;
i32 current_animation;
bool play_on_start;
bool loop;
float speed;
float time;
bool playing;
bool runtime_started;
bool restart_pending;
}LDKKeyFrameAnimationSource;
ldk_keyframe_animation_source_make_default
Construct the default configuration for an animation source component.
LDK_API LDKKeyFrameAnimationSource ldk_keyframe_animation_source_make_default(void);
Returns
Value with autoplay/loop enabled, speed one and no selected clip.