Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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