ScriptablePacker.TextureData
Texture data of a specific sprite useful to get source pixels in textureData array.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor
public struct ScriptablePacker.TextureData
Fields
Value | Description |
|---|---|
| bufferOffset | Offset of the TextureData Array from where the actual data for the current texture starts. |
| height | Height of the texture. |
| width | Width of the texture. |