SpritePack

struct in UnityEditor.U2D

Description

A struct that contains packing information of the sprite to Atlas.

Properties

pageThe page to which the sprite is packed into SpriteAtlas.
rotThe rotation of the Sprite when packed into SpriteAtlas.
xLocation in x axis to where the Sprite is packed to Texture.
yLocation in y axis to where the Sprite is packed to Texture.

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