Category5.Animation.FastDraw C# (CSharp) 메소드

FastDraw() 공개 메소드

Draw a frame of the animation to the screen at given location by rectangle bounds without rotation
public FastDraw ( SpriteBatch sBatch, Rectangle dest ) : void
sBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
dest Microsoft.Xna.Framework.Rectangle
리턴 void
        public void FastDraw(SpriteBatch sBatch, Rectangle dest)
        {
            sBatch.Draw(texture, dest, color);
        }