SpriteEffects Enumeration

Defines sprite rotation options.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

[FlagsAttribute]
public enum SpriteEffects

Members

  Member name Description
FlipHorizontally Rotate 180 degrees about the Y axis before rendering.
FlipVertically Rotate 180 degrees about the X axis before rendering.
None No rotations specified.

See Also

Reference

SpriteBatch.Draw Method (Texture2D, Rectangle, Nullable<Rectangle>, Color, Single, Vector2, SpriteEffects, Single)
SpriteBatch.Draw Method (Texture2D, Vector2, Nullable<Rectangle>, Color, Single, Vector2, Single, SpriteEffects, Single)
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista