Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ScriptablePacker.TextureData

Texture data of a specific sprite useful to get source pixels in textureData array.
Read time 1 minuteLast updated 6 days 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.