struct in UnityEditor.U2D
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseA struct containing input data to pack sprites.
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. |