Documentation

Unity Engine

Unity Engine

ScriptablePacker.TextureData

Texture data of a specific sprite useful to get source pixels in textureData array.
Read time 1 minuteLast updated a month ago

Definition

public struct ScriptablePacker.TextureData

Fields

Value

Description

bufferOffsetOffset of the TextureData Array from where the actual data for the current texture starts.
heightHeight of the texture.
widthWidth of the texture.