SpriteAtlasPackingSettings
Settings to use during the packing process for this SpriteAtlas.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.U2D
- Assembly: UnityEditor.CoreModule
public struct SpriteAtlasPackingSettings
Properties
Property | Description |
|---|---|
| blockOffset | Block offset to use while packing. |
| enableAlphaDilation | Sets the boundary padding pixels alpha to 0 when packed into a Sprite Atlas. |
| enableRotation | Determines if rotating a sprite is possible during packing. |
| enableTightPacking | Determines if sprites should be packed tightly during packing. |
| padding | Value to add boundary (padding) to sprites when packing into the atlas. |