Click to Rate and Give Feedback
XNA Game Studio 3.0
SpriteBatch.Draw Method
Adds a sprite to the batch of sprites to be rendered.
NameDescription
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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker