Esempio n. 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}");
            }
        }
Esempio n. 2
0
 private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs args)
 {
     SetTime(args.currentClipTime, true);
 }
Esempio n. 3
0
 private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs args)
 {
     SetScrubberPosition(args.currentClipTime, true);
 }
Esempio n. 4
0
 private void OnTimeChanged(AtomAnimation.TimeChangedEventArgs args)
 {
     RefreshCurrentCurveType(args.currentClipTime);
 }