Example #1
0
 public AnimationState PlayQueued(string animation, ArkCrossEngine.QueueMode queue, ArkCrossEngine.PlayMode mode)
 {
     return(new AnimationState(GetImpl <CrossEngineImpl.Animation>().PlayQueued(animation, ConvertQueueMode(queue), ConvertPlayMode(mode))));
 }
Example #2
0
 public void CrossFade(string animation, float fadeLength, ArkCrossEngine.PlayMode mode)
 {
     GetImpl <CrossEngineImpl.Animation>().CrossFade(animation, fadeLength, ConvertPlayMode(mode));
 }
Example #3
0
 private static CrossEngineImpl.PlayMode ConvertPlayMode(ArkCrossEngine.PlayMode mode)
 {
     return((CrossEngineImpl.PlayMode)(int)(ArkCrossEngine.PlayMode)(mode));
 }
Example #4
0
 public bool Play(string animation, ArkCrossEngine.PlayMode mode)
 {
     return(GetImpl <CrossEngineImpl.Animation>().Play(animation, ConvertPlayMode(mode)));
 }
Example #5
0
 public AnimationState CrossFadeQueued(string animation, float fadeLength, ArkCrossEngine.QueueMode queue, ArkCrossEngine.PlayMode mode)
 {
     return(new AnimationState(GetImpl <CrossEngineImpl.Animation>().CrossFadeQueued(animation, fadeLength, ConvertQueueMode(queue), ConvertPlayMode(mode))));
 }