示例#1
0
 /// <summary>
 /// Blits sprite to OpenGL display with specified parameters.
 /// </summary>
 public override void Draw(Quad vertexQuad, RectangleF?textureRect, ColourInfo drawColour, VertexBatch <TexturedVertex2D> spriteBatch = null, Vector2?inflationPercentage = null)
 {
     parent.Draw(vertexQuad, BoundsInParent(textureRect), drawColour, spriteBatch, inflationPercentage);
 }
示例#2
0
 /// <summary>
 /// Blits sprite to OpenGL display with specified parameters.
 /// </summary>
 public override void Draw(Quad vertexQuad, RectangleF?textureRect, ColourInfo drawColour, Action <TexturedVertex2D> vertexAction = null, Vector2?inflationPercentage = null)
 {
     parent.Draw(vertexQuad, BoundsInParent(textureRect), drawColour, vertexAction, inflationPercentage);
 }