次の方法で共有


SpriteBatch.Draw Method

Adds a sprite to the batch of sprites to be rendered.

Overload List

Name Description
SpriteBatch.Draw (Texture2D, Rectangle, Color) Adds a sprite to the batch of sprites to be rendered, specifying the texture, destination rectangle, and color tint.
SpriteBatch.Draw (Texture2D, Rectangle, Nullable<Rectangle>, Color) Adds a sprite to the batch of sprites to be rendered, specifying the texture, destination and source rectangles, and color tint.
SpriteBatch.Draw (Texture2D, Rectangle, Nullable<Rectangle>, Color, Single, Vector2, SpriteEffects, Single) Adds a sprite to the batch of sprites to be rendered, specifying the texture, destination and source rectangles, color tint, rotation, origin, effects, and sort depth.
SpriteBatch.Draw (Texture2D, Vector2, Color) Adds a sprite to the batch of sprites to be rendered, specifying the texture, screen position, and color tint.
SpriteBatch.Draw (Texture2D, Vector2, Nullable<Rectangle>, Color) Adds a sprite to the batch of sprites to be rendered, specifying the texture, screen position, source rectangle, and color tint.
SpriteBatch.Draw (Texture2D, Vector2, Nullable<Rectangle>, Color, Single, Vector2, Single, SpriteEffects, Single) Adds a sprite to the batch of sprites to be rendered, specifying the texture, screen position, optional source rectangle, color tint, rotation, origin, scale, effects, and sort depth.
SpriteBatch.Draw (Texture2D, Vector2, Nullable<Rectangle>, Color, Single, Vector2, Vector2, SpriteEffects, Single) Adds a sprite to the batch of sprites to be rendered, specifying the texture, screen position, source rectangle, color tint, rotation, origin, scale, effects, and sort depth.

See Also

Tasks

How to: Draw a Sprite

Concepts

2D Graphics Overview

Reference

SpriteBatch Class
SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace