DataUtility 数据工具

class in UnityEngine.Sprites

/

Implemented in:UnityEngine.CoreModule

UnityEngine.Sprites 中的类

/

实现于:UnityEngine.CoreModule

Description 描述

Helper utilities for accessing Sprite data.

用于访问 Sprite 数据的辅助工具。

Static Methods 静态方法

获取内部的UV GetInnerUV 内部UV的精灵 Inner UV's of the Sprite.
获取最小尺寸 GetMinSize 最小宽度和高度的精灵。 Minimum width and height of the Sprite.
获取外部的UV GetOuterUV 外部UV的精灵 Outer UV's of the Sprite.
获取内边距 GetPadding 返回 sprite(精灵) 的 padding(内边距)。 Return the padding on the sprite.