TextureData

struct in UnityEditor.U2D

Description

Texture data of a specific sprite useful to get source pixels in textureData array.

Properties

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

Did you find this page useful? Please give it a rating: