C# Class UnityEditorInternal.InternalSpriteUtility

Datei anzeigen Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GenerateGridSpriteRectangles ( Texture2D texture, Vector2 offset, Vector2 size, Vector2 padding ) : UnityEngine.Rect[]

Private Methods

Method Description
GenerateAutomaticSpriteRectangles ( Texture2D texture, int minRectSize, int extrudeSize ) : UnityEngine.Rect[]
INTERNAL_CALL_GenerateGridSpriteRectangles ( Texture2D texture, Vector2 &offset, Vector2 &size, Vector2 &padding ) : UnityEngine.Rect[]

Method Details

GenerateGridSpriteRectangles() public static method

public static GenerateGridSpriteRectangles ( Texture2D texture, Vector2 offset, Vector2 size, Vector2 padding ) : UnityEngine.Rect[]
texture UnityEngine.Texture2D
offset Vector2
size Vector2
padding Vector2
return UnityEngine.Rect[]