public static Polygon MakePolygon(LImage image) { if (image == null) { throw new RuntimeException("Image is null !"); } return MakePolygon(image.GetIntPixels(), image.GetWidth(), image.GetHeight()); }
public static LTexture.Mask CreateMask(LImage image) { if (image == null) { throw new RuntimeException("Image is null !"); } return CreateMask(image.GetIntPixels(), image.GetWidth(), image.GetHeight()); }