Table of Contents

Method Draw

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

Draw(SpriteBatch, Vector2)

Renders this Sprite.

public void Draw(SpriteBatch spriteBatch, Vector2 position)

Parameters

spriteBatch SpriteBatch

The Microsoft.Xna.Framework.Graphics.SpriteBatch to use for rendering thisSprite.

position Vector2

The x- and y-coordinate location to render this Sprite at.