Version: 2023.2
言語: 日本語

PackerData

struct in UnityEditor.U2D

マニュアルに切り替える

説明

A struct containing input data to pack sprites.

変数

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.