Class TextureSpriteSettings | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureSpriteSettings

    Inheritance
    System.Object
    TextureSpriteSettings
    Namespace: UnityEditor.Experimental.U2D.Common
    Syntax
    [Serializable]
    public class TextureSpriteSettings : ITextureSettings

    Constructors

    TextureSpriteSettings()

    Declaration
    public TextureSpriteSettings()

    TextureSpriteSettings(String, Int32, SpriteMeshType, UInt32, Boolean, SpriteImportData[])

    Declaration
    public TextureSpriteSettings(string packingTag, int pixelsPerUnit, SpriteMeshType meshType, uint extrudeEdges, bool qualifyForPacking, SpriteImportData[] spriteSheetData = null)
    Parameters
    Type Name Description
    System.String packingTag
    System.Int32 pixelsPerUnit
    SpriteMeshType meshType
    System.UInt32 extrudeEdges
    System.Boolean qualifyForPacking
    SpriteImportData[] spriteSheetData

    Properties

    extrudeEdges

    Declaration
    public uint extrudeEdges { get; set; }
    Property Value
    Type Description
    System.UInt32

    meshType

    Declaration
    public SpriteMeshType meshType { get; set; }
    Property Value
    Type Description
    SpriteMeshType

    packingTag

    Declaration
    public string packingTag { get; set; }
    Property Value
    Type Description
    System.String

    pixelsPerUnit

    Declaration
    public float pixelsPerUnit { get; set; }
    Property Value
    Type Description
    System.Single

    qualifyForPacking

    Declaration
    public bool qualifyForPacking { get; set; }
    Property Value
    Type Description
    System.Boolean

    spriteSheetData

    Declaration
    public SpriteImportData[] spriteSheetData { get; set; }
    Property Value
    Type Description
    SpriteImportData[]
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023