C# Class TextureNodeRenderer

Datei anzeigen Open project: macgyver13/globalgamejam2016 Class Usage Examples

Public Properties

Property Type Description
colItemsCount int

Public Methods

Method Description
RenderNode ( int index, TPAtlas antlas, string name ) : Rect
calculateVars ( float width ) : void

Private Methods

Method Description
drawColordeBox ( float w, float h ) : void
drawColordeBox ( float w, float h, Color c ) : void
getSize ( TPAtlasTexture tx ) : Rect

Method Details

RenderNode() public static method

public static RenderNode ( int index, TPAtlas antlas, string name ) : Rect
index int
antlas TPAtlas
name string
return Rect

calculateVars() public static method

public static calculateVars ( float width ) : void
width float
return void

Property Details

colItemsCount public_oe static_oe property

public static int colItemsCount
return int