Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SpriteEffects.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core;
4 
5 namespace SiliconStudio.Paradox.Graphics
6 {
7  /// <summary>
8  /// Defines sprite mirroring options.
9  /// </summary>
10  /// <remarks>
11  /// Description is taken from original XNA <a href='http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.spriteeffects.aspx'>SpriteEffects</a> class.
12  /// </remarks>
13  [DataContract]
14  public enum SpriteEffects
15  {
16  /// <summary>
17  /// No rotations specified.
18  /// </summary>
19  None = 0,
20 
21  /// <summary>
22  /// Rotate 180 degrees around the Y axis before rendering.
23  /// </summary>
24  FlipHorizontally = 1,
25 
26  /// <summary>
27  /// Rotate 180 degrees around the X axis before rendering.
28  /// </summary>
29  FlipVertically = 3,
30 
31  /// <summary>
32  /// Rotate 180 degrees around both the X and Y axis before rendering.
33  /// </summary>
34  FlipBoth = 2,
35  };
36 }
SpriteEffects
Defines sprite mirroring options.
Rotate 180 degrees around the Y axis before rendering.
Rotate 180 degrees around the X axis before rendering.
Rotate 180 degrees around both the X and Y axis before rendering.