コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }