共用方式為


SpriteBatch Class

Enables a group of sprites to be drawn using the same settings.

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

Syntax

public class SpriteBatch : GraphicsResource

Remarks

Use a sprite to draw a 2D bitmap directly to the screen.

See Also

Reference

SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP