Struct VectorUtils.PackRectItem
Struct to hold a texture atlas location.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.VectorGraphics
Syntax
public struct 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 |
---|---|
System.Boolean |
Size
The size of the entry inside the atlas.
Declaration
public Vector2 Size
Field Value
Type | Description |
---|---|
Vector2 |