C# Class Nomad.Renderers.ObjectRenderer

显示文件 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 ( ObjectInventoryEntry 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, ObjectInventoryEntry &entry ) : void
RenderObject ( ObjectInventoryEntry entry ) : void
ThumbnailDummy ( ) : bool
TriggerListeners ( ObjectInventoryEntry 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 ( ObjectInventoryEntry entry ) : void
entry Nomad.Inventory.ObjectInventoryEntry
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_oe static_oe property

public static string cachePath
return string