ScriptablePacker.PackerData
A struct containing input data to pack sprites.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
public struct ScriptablePacker.PackerData
Fields
Value | Description |
|---|---|
| colorData | A NativeArray containing texture data (pixels) of all the sprites. |
| indexData | A NativeArray containing indices of all the sprites. |
| spriteData | A NativeArray containing sprite data of all the sprites. |
| textureData | A NativeArray containing texture data of all the sprites that includes width, height and offset to read from colorData array. |
| vertexData | A NativeArray containing vertices of all the sprites. |