ドキュメント

Unity Engine

Unity Engine

ScriptablePacker.PackerData

A struct containing input data to pack sprites.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.