Sprite.this

creates a sprite given a region

  1. this(Texture2D texture, Rectangle src_rect, Vector2 origin)
  2. this(Texture2D texture, Rectangle src_rect)
    class Sprite
    this
    (
    Texture2D texture
    ,
    Rectangle src_rect
    )
  3. this(Texture2D texture)

Meta