예제 #1
0
 public void PlaybackSpeed(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new PlaybackSpeedCmd
     {
         speed = e.get_floatParameter()
     });
 }
예제 #2
0
 public void ActionStraight(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new ActionStraightCmd
     {
         rate = e.get_floatParameter()
     });
 }
예제 #3
0
 public void ChangeHeight(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "ModelHeight",
         propValue = e.get_floatParameter()
     });
 }
예제 #4
0
 public void ChangeSpeed(AnimationEvent e)
 {
     if (!this.CheckEventIsValid(e))
     {
         return;
     }
     CommandCenter.ExecuteCommand(this.root, new NotifyPropChangedCmd
     {
         propName  = "AnimFactor",
         propValue = e.get_floatParameter(),
         propTag   = e.get_stringParameter()
     });
 }