기술 자료

Unity Engine

Unity Engine

ScriptablePacker.PackerData

A struct containing input data to pack sprites.
읽는 시간 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.