public void TickLogic() { AnimationPlayingCtrl.TickLogic(); var playPercent = AnimationPlayingCtrl.PlayPercent; var time = mEditorAnimationClip.AnimationClip.Duration * playPercent; foreach (var notify in mNotifyEditeControlList) { notify.Value = AnimationPlayingCtrl.CurrentFrame; notify.TickLogic(); } mEditorAnimationClip.AnimationClip.SeekForEditor(time); }
public void TickLogic() { if (mPreviewClip == null) { return; } AnimationPlayingCtrl.TickLogic(); var playPercent = AnimationPlayingCtrl.PlayPercent; var time = mPreviewClip.Duration * playPercent; //mPreviewAnimationSequence.CurrentTime = (uint)time; mPreviewClip.SeekForEditor(time); }
private void NotifyTrack_OnTickBarScaling(object sender, TickBarScaleEventArgs e) { AnimationPlayingCtrl.TickBarScale(e.DeltaScale, e.Percent); }