예제 #1
0
        private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs time)
        {
            if (base.containingAtom == null)
            {
                return;                              // Plugin destroyed
            }
            try
            {
                // Update UI
                scrubberJSON.valNoCallback = time.currentClipTime;
                timeJSON.valNoCallback     = time.time;

                peers.SendTime(animation.current);
                BroadcastToControllers(nameof(IRemoteControllerPlugin.OnTimelineTimeChanged));
            }
            catch (Exception exc)
            {
                SuperController.LogError($"VamTimeline.{nameof(AtomPlugin)}.{nameof(OnTimeChanged)}: {exc}");
            }
        }
예제 #2
0
 private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs args)
 {
     SetTime(args.currentClipTime, true);
 }
예제 #3
0
 private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs args)
 {
     SetScrubberPosition(args.currentClipTime, true);
 }
예제 #4
0
 private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs args)
 {
     RefreshCurrentCurveType(args.currentClipTime);
 }