public void Draw(TextureRegion textureRegion, Vector2 position, RgbaFloat color, Vector2 origin, Vector2 scale, float rotation = 0f, float depth = 0f) { Draw(textureRegion.Texture, position, textureRegion.Region, color, rotation, origin, scale, depth); }
public void Draw(TextureRegion textureRegion, FloatRect destination, RgbaFloat color, Vector2 origin, float rotation = 0f, float depth = 0f) { Draw(textureRegion.Texture, destination, textureRegion.Region, color, rotation, origin, depth); }