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 sprite specific data to pack sprites.
guid | GUID to uniquely identify the sprite in data arrays. |
indexCount | The number of indices in the sprite geometry. |
indexOffset | Offset of indices in the indexData from where actual indices can be fetched. |
output | Output data of a packable sprite. |
rect | The input TextureRect information of the source sprite. |
texIndex | Index of the texture in textureData array. |
vertexCount | Number of vertices in the sprite geometry. |
vertexOffset | Offset of vertices in the vertexData from where actual vertices can be fetched. |