lv_gltf_model.h

API reference for lv_gltf_model.h

Report on GitHub

Functions

lv_gltf_model_set_animation_speed

Set the animation speed ratio

The actual ratio is the value parameter / LV_GLTF_ANIM_SPEED_NORMAL Values greater than LV_GLTF_ANIM_SPEED_NORMAL will speed-up the animation Values less than LV_GLTF_ANIM_SPEED_NORMAL will slow down the animation

 
void lv_gltf_model_set_animation_speed(lv_gltf_model_t *model, uint32_t value)
Parameters
NameTypeDescription
modellv_gltf_model_t *pointer to a glTF model
valueuint32_tspeed-up ratio of the animation

Dependencies

How is this guide?

Last updated on

On this page