ScriptablePacker.TextureData
Texture data of a specific sprite useful to get source pixels in textureData array.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
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. |