Skip to main content

sample_animation

Function sample_animation 

Source
pub fn sample_animation(
    spec: &AnimationSpec,
    keyframes: &Keyframes,
    elapsed_ms: f32,
) -> BTreeMap<String, String>
Expand description

@keyframes アニメーションの現在算出値を、対象プロパティごとに返す。 elapsed_ms: アニメーション開始からの経過。戻り値: プロパティ→現在値のマップ。