C# Class FC3Editor.Nomad.ObjectRenderer

Show file Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
cachePath string

Private Properties

Property Type Description
ClearSnapshot void
GetSnapshot void
RenderObject void
ThumbnailDummy bool
TriggerListeners void
WritePNG void

Public Methods

Method Description
Clear ( ) : void
ClearCache ( ) : void
GenerateThumbnails ( ) : void
RegisterListener ( ObjectRenderer listener ) : void
RequestObjectImage ( ObjectInventory entry ) : void
ResizeThumbnails ( ) : void
ResizeThumbnails ( string subDir, int targetResolution, int targetColResolution, Color background ) : void
UnregisterListener ( ObjectRenderer listener ) : void
Update ( float dt ) : void

Private Methods

Method Description
ClearSnapshot ( ) : void
GetSnapshot ( Image &img, ObjectInventory &entry ) : void
RenderObject ( ObjectInventory entry ) : void
ThumbnailDummy ( ) : bool
TriggerListeners ( ObjectInventory entry, Image img ) : void
WritePNG ( string filename, Bitmap bmp ) : void

Method Details

Clear() public static method

public static Clear ( ) : void
return void

ClearCache() public static method

public static ClearCache ( ) : void
return void

GenerateThumbnails() public static method

public static GenerateThumbnails ( ) : void
return void

RegisterListener() public static method

public static RegisterListener ( ObjectRenderer listener ) : void
listener ObjectRenderer
return void

RequestObjectImage() public static method

public static RequestObjectImage ( ObjectInventory entry ) : void
entry ObjectInventory
return void

ResizeThumbnails() public static method

public static ResizeThumbnails ( ) : void
return void

ResizeThumbnails() public static method

public static ResizeThumbnails ( string subDir, int targetResolution, int targetColResolution, Color background ) : void
subDir string
targetResolution int
targetColResolution int
background Color
return void

UnregisterListener() public static method

public static UnregisterListener ( ObjectRenderer listener ) : void
listener ObjectRenderer
return void

Update() public static method

public static Update ( float dt ) : void
dt float
return void

Property Details

cachePath public static property

public static string cachePath
return string