C# Class UnityEngine.Sprites.DataUtility

Helper utilities for accessing Sprite data.

Mostra file Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
GetMinSize ( Sprite sprite ) : Vector2

Private Methods

Method Description
GetInnerUV ( Sprite sprite ) : Vector4
GetOuterUV ( Sprite sprite ) : Vector4
GetPadding ( Sprite sprite ) : Vector4
Internal_GetMinSize ( Sprite sprite, Vector2 &output ) : void

Method Details

GetMinSize() public static method

public static GetMinSize ( Sprite sprite ) : Vector2
sprite Sprite
return Vector2