Class InternalSpriteUtility
Inheritance
InternalSpriteUtility
Assembly: UnityEditor.dll
Syntax
public sealed class InternalSpriteUtility
Methods
GenerateAutomaticSpriteRectangles(Texture2D, Int32, Int32)
Declaration
public static Rect[] GenerateAutomaticSpriteRectangles(Texture2D texture, int minRectSize, int extrudeSize)
Parameters
Returns
|
Improve this Doc
View Source
GenerateGridSpriteRectangles(Texture2D, Vector2, Vector2, Vector2)
Declaration
public static Rect[] GenerateGridSpriteRectangles(Texture2D texture, Vector2 offset, Vector2 size, Vector2 padding)
Parameters
Returns
Extension Methods