Struct VectorUtils.PackRectItem
Struct to hold a texture atlas location.
Namespace: Unity.VectorGraphics
Syntax
public struct PackRectItemFields
Fill
The fill associated with this entry, may be null.
Declaration
public IFill FillField Value
| Type | Description | 
|---|---|
| IFill | 
Position
The position of the entry inside the atlas.
Declaration
public Vector2 PositionField Value
| Type | Description | 
|---|---|
| Vector2 | 
Rotated
True if the entry is rotated by 90 degrees.
Declaration
public bool RotatedField Value
| Type | Description | 
|---|---|
| Boolean | 
Size
The size of the entry inside the atlas.
Declaration
public Vector2 SizeField Value
| Type | Description | 
|---|---|
| Vector2 |