C# Class exAtlasInfo, ex2d-v1

显示文件 Open project: exdev/ex2d-v1 Class Usage Examples

Public Properties

Property Type Description
algorithm Algorithm,
allowRotate bool
atlas exAtlas,
atlasName string
bgColor Color
bitmapFonts List
buildColor Color
customPadding int
elementBgColor Color
elementSelectColor Color
elements List
foldCanvas bool
foldElement bool
foldLayout bool
height int
material Material
needLayout bool
needRebuild bool
needUpdateAnimClips bool
paddingMode PaddingMode,
readable bool
rebuildAnimClipGUIDs List
scale float
showCheckerboard bool
sortBy SortBy
sortOrder SortOrder,
texture UnityEngine.Texture2D
trimElements bool
useBuildColor bool
useContourBleed bool
usePaddingBleed bool
width int

Public Methods

Method Description
AddElement ( Texture2D _tex, bool _trim ) : Element,
AddSpriteAnimClipForRebuilding ( Element, _el ) : void
BasicPack ( ) : void
ClearAtlasTexture ( ) : void
CompareByArea ( Element, _a, Element, _b ) : int
CompareByHeight ( Element, _a, Element, _b ) : int
CompareByHeightRotate ( Element, _a, Element, _b ) : int
CompareByName ( Element, _a, Element, _b ) : int
CompareByWidth ( Element, _a, Element, _b ) : int
CompareByWidthRotate ( Element, _a, Element, _b ) : int
Create ( string _path, string _name ) : exAtlasInfo,
ImportObjects ( Object _objects ) : void
LayoutElements ( ) : void
RemoveBitmapFont ( exBitmapFont, _fontInfo ) : void
RemoveElement ( Element, _el ) : void
RemoveElementAt ( int _idx ) : void
ResetElements ( ) : void
SortElements ( ) : void
TreePack ( ) : void
UpdateElement ( Texture2D _tex, bool _trim, bool _noImport = true ) : void

Protected Methods

Method Description
AddFontElement ( exBitmapFont, _srcFontInfo, exBitmapFont, _destFontInfo, exBitmapFont, _charInfo ) : Element,

Method Details

AddElement() public method

public AddElement ( Texture2D _tex, bool _trim ) : Element,
_tex UnityEngine.Texture2D
_trim bool
return Element,

AddFontElement() protected method

protected AddFontElement ( exBitmapFont, _srcFontInfo, exBitmapFont, _destFontInfo, exBitmapFont, _charInfo ) : Element,
_srcFontInfo exBitmapFont,
_destFontInfo exBitmapFont,
_charInfo exBitmapFont,
return Element,

AddSpriteAnimClipForRebuilding() public method

public AddSpriteAnimClipForRebuilding ( Element, _el ) : void
_el Element,
return void

BasicPack() public method

public BasicPack ( ) : void
return void

ClearAtlasTexture() public method

public ClearAtlasTexture ( ) : void
return void

CompareByArea() public static method

public static CompareByArea ( Element, _a, Element, _b ) : int
_a Element,
_b Element,
return int

CompareByHeight() public static method

public static CompareByHeight ( Element, _a, Element, _b ) : int
_a Element,
_b Element,
return int

CompareByHeightRotate() public static method

public static CompareByHeightRotate ( Element, _a, Element, _b ) : int
_a Element,
_b Element,
return int

CompareByName() public static method

public static CompareByName ( Element, _a, Element, _b ) : int
_a Element,
_b Element,
return int

CompareByWidth() public static method

public static CompareByWidth ( Element, _a, Element, _b ) : int
_a Element,
_b Element,
return int

CompareByWidthRotate() public static method

public static CompareByWidthRotate ( Element, _a, Element, _b ) : int
_a Element,
_b Element,
return int

Create() public static method

public static Create ( string _path, string _name ) : exAtlasInfo,
_path string
_name string
return exAtlasInfo,

ImportObjects() public method

public ImportObjects ( Object _objects ) : void
_objects Object
return void

LayoutElements() public method

public LayoutElements ( ) : void
return void

RemoveBitmapFont() public method

public RemoveBitmapFont ( exBitmapFont, _fontInfo ) : void
_fontInfo exBitmapFont,
return void

RemoveElement() public method

public RemoveElement ( Element, _el ) : void
_el Element,
return void

RemoveElementAt() public method

public RemoveElementAt ( int _idx ) : void
_idx int
return void

ResetElements() public method

public ResetElements ( ) : void
return void

SortElements() public method

public SortElements ( ) : void
return void

TreePack() public method

public TreePack ( ) : void
return void

UpdateElement() public method

public UpdateElement ( Texture2D _tex, bool _trim, bool _noImport = true ) : void
_tex UnityEngine.Texture2D
_trim bool
_noImport bool
return void

Property Details

algorithm public_oe property

public Algorithm, algorithm
return Algorithm,

allowRotate public_oe property

public bool allowRotate
return bool

atlas public_oe property

public exAtlas, atlas
return exAtlas,

atlasName public_oe property

public string atlasName
return string

bgColor public_oe property

public Color bgColor
return Color

bitmapFonts public_oe property

public List bitmapFonts
return List

buildColor public_oe property

public Color buildColor
return Color

customPadding public_oe property

public int customPadding
return int

elementBgColor public_oe property

public Color elementBgColor
return Color

elementSelectColor public_oe property

public Color elementSelectColor
return Color

elements public_oe property

public List elements
return List

foldCanvas public_oe property

public bool foldCanvas
return bool

foldElement public_oe property

public bool foldElement
return bool

foldLayout public_oe property

public bool foldLayout
return bool

height public_oe property

public int height
return int

material public_oe property

public Material material
return Material

needLayout public_oe property

public bool needLayout
return bool

needRebuild public_oe property

public bool needRebuild
return bool

needUpdateAnimClips public_oe property

public bool needUpdateAnimClips
return bool

paddingMode public_oe property

public PaddingMode, paddingMode
return PaddingMode,

readable public_oe property

public bool readable
return bool

rebuildAnimClipGUIDs public_oe property

public List rebuildAnimClipGUIDs
return List

scale public_oe property

public float scale
return float

showCheckerboard public_oe property

public bool showCheckerboard
return bool

sortBy public_oe property

public SortBy sortBy
return SortBy

sortOrder public_oe property

public SortOrder, sortOrder
return SortOrder,

texture public_oe property

public Texture2D,UnityEngine texture
return UnityEngine.Texture2D

trimElements public_oe property

public bool trimElements
return bool

useBuildColor public_oe property

public bool useBuildColor
return bool

useContourBleed public_oe property

public bool useContourBleed
return bool

usePaddingBleed public_oe property

public bool usePaddingBleed
return bool

width public_oe property

public int width
return int