ScriptablePacker.PackTransform
Indicates if the Sprite is rotated when packed to SpriteAtlas.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
public enum ScriptablePacker.PackTransform
Fields
Value | Description |
|---|---|
| FlipHorizontal | Sprite is flipped horizontally when packed to SpriteAtlas. |
| FlipVertical | Sprite is flipped vertically when packed to SpriteAtlas. |
| None | Sprite is not rotated when packed to SpriteAtlas. |
| Rotate180 | Sprite is rotated 180 degrees when packed to SpriteAtlas. |