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