pub fn sample_transition( spec: &TransitionSpec, from: &str, to: &str, elapsed_ms: f32, ) -> (String, bool)
トランジションの現在値を計算する。 from/to: プロパティの開始値・終了値。elapsed_ms: 状態変更からの経過時間。 戻り値: (現在の補間値, アニメーションが進行中か)。
from
to
elapsed_ms