コード例 #1
0
        public static AnimationUpdateResult Update(this IAnimationManager manager, AnimationSeconds timeNow)
        {
            AnimationUpdateResult result;

            manager.TryUpdate(timeNow, out result).ThrowIfError();
            return(result);
        }
コード例 #2
0
 public static void ScheduleTransition(this IAnimationManager manager, IAnimationVariable variable, IAnimationTransition transition, AnimationSeconds timeNow)
 {
     manager.TryScheduleTransition(variable, transition, timeNow).ThrowIfError();
 }
コード例 #3
0
        public static AnimationSchedulingResult Schedule(this IAnimationStoryboard storyboard, AnimationSeconds timeNow)
        {
            AnimationSchedulingResult result;

            storyboard.TrySchedule(timeNow, out result).ThrowIfError();
            return(result);
        }
コード例 #4
0
 public static void FinishAllStoryboards(this IAnimationManager manager, AnimationSeconds completionDeadline)
 {
     manager.TryFinishAllStoryboards(completionDeadline).ThrowIfError();
 }
コード例 #5
0
 public static void Finish(this IAnimationStoryboard storyboard, AnimationSeconds completionDeadline)
 {
     storyboard.TryFinish(completionDeadline).ThrowIfError();
 }