Пример #1
0
 public Sprite(Texture2D texture) : this(texture, RectF.FromBox(0f, 0f, texture.Width, texture.Height))
 {
 }
Пример #2
0
 public void SetTextureRegion(Texture2D texture, RectF region, bool resetSize)
 {
     _mTexture = texture;
     SetTextureRegion(region, resetSize);
 }