Click or drag to resize
SpriteBaseSpriteAnimationType Enumeration
Defines the basis for a sprite's animation

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public enum SpriteAnimationType
Members
  Member nameValueDescription
ByFrame0 Each frame that passes in the game will cause the sprite to advance its animation by one frame.
ByHorizontalVelocity1 The sprite's animation will advance according to how many pixels it will move horizontally each frame.
ByVerticalVelocity2 The sprite's animation will advance according to how many pixels it will move vertically each frame.
ByVectorVelocity3 The sprite's animation will advance according to how many pixels it moves each frame in any direction (using the distance formula).
See Also