Exemple #1
0
 static public RectI2 GetRectI2(this Rect item)
 {
     return(RectI2Extensions.CreateLowerLeftRectI2(
                item.GetLowerLeftPoint().GetVectorI2(),
                item.GetSize().GetVectorI2()
                ));
 }
Exemple #2
0
 static public RectI2 GetRectI2(this Texture2D item)
 {
     return(RectI2Extensions.CreateLowerLeftRectI2(0, 0, item.width, item.height));
 }