Struct TexturePacker.SpriteData
Namespace: TMPro.SpriteAssetUtilities
Syntax
[Serializable]
public struct SpriteData
Fields
filename
Declaration
public string filename
Field Value
Type | Description |
---|---|
String |
frame
Declaration
public TexturePacker.SpriteFrame frame
Field Value
Type | Description |
---|---|
TexturePacker.SpriteFrame |
pivot
Declaration
public Vector2 pivot
Field Value
Type | Description |
---|---|
Vector2 |
rotated
Declaration
public bool rotated
Field Value
Type | Description |
---|---|
Boolean |
sourceSize
Declaration
public TexturePacker.SpriteSize sourceSize
Field Value
Type | Description |
---|---|
TexturePacker.SpriteSize |
spriteSourceSize
Declaration
public TexturePacker.SpriteFrame spriteSourceSize
Field Value
Type | Description |
---|---|
TexturePacker.SpriteFrame |
trimmed
Declaration
public bool trimmed
Field Value
Type | Description |
---|---|
Boolean |