Class TextureSpriteSettings
Inheritance
System.Object
TextureSpriteSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Experimental.U2D.Common
Syntax
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[] |