docs.unity3d.com
    Show / Hide Table of Contents

    Struct TexturePacker.SpriteData

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: TMPro.SpriteAssetUtilities
    Syntax
    [Serializable]
    public struct SpriteData

    Fields

    filename

    Declaration
    public string filename
    Field Value
    Type Description
    System.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
    System.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
    System.Boolean
    Back to top
    Copyright © 2025 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 02 April 2025