Exemplo n.º 1
0
 /// <summary>
 /// Set loop mode.
 /// </summary>
 private void SetLoopMode(LoopMode2D loopMode)
 {
     Runtime.ValidateRefCounted(this);
     AnimatedSprite2D_SetLoopMode(handle, loopMode);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Set animation by name and loop mode.
 /// </summary>
 public void SetAnimation(string name, LoopMode2D loopMode = LoopMode2D.Default)
 {
     Runtime.ValidateRefCounted(this);
     AnimatedSprite2D_SetAnimation(handle, name, loopMode);
 }
Exemplo n.º 3
0
 internal static extern void AnimatedSprite2D_SetLoopMode(IntPtr handle, LoopMode2D loopMode);
Exemplo n.º 4
0
 internal static extern void AnimatedSprite2D_SetAnimation(IntPtr handle, string name, LoopMode2D loopMode);