Bagikan melalui


SpriteEffects Enumeration

Defines sprite mirroring options.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP