Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ScriptablePacker.PackerData

A struct containing input data to pack sprites.
Read time 1 minuteLast updated 6 days ago

Definition

public struct ScriptablePacker.PackerData

Fields

Value

Description

colorDataA NativeArray containing texture data (pixels) of all the sprites.
indexDataA NativeArray containing indices of all the sprites.
spriteDataA NativeArray containing sprite data of all the sprites.
textureDataA NativeArray containing texture data of all the sprites that includes width, height and offset to read from colorData array.
vertexDataA NativeArray containing vertices of all the sprites.