C# Class GraphicsEngine.Wavefront.Loaders.MaterialLibraryLoader

Inheritance: LoaderBase, IMaterialLibraryLoader
Mostra file Open project: ckarcz/GraphicsEngine Class Usage Examples

Private Properties

Property Type Description
AddParseAction void
GetKeywordAction Action
ParseColour GraphicsEngine.Wavefront.Models.Colour
PushMaterial void

Public Methods

Method Description
Load ( Stream lineStream ) : void
MaterialLibraryLoader ( IMaterialLibrary materialLibrary ) : System

Protected Methods

Method Description
ParseLine ( string keyword, string data ) : void

Private Methods

Method Description
AddParseAction ( string key, Action action ) : void
GetKeywordAction ( string keyword ) : Action
ParseColour ( string data ) : Colour
PushMaterial ( string materialName ) : void

Method Details

Load() public method

public Load ( Stream lineStream ) : void
lineStream Stream
return void

MaterialLibraryLoader() public method

public MaterialLibraryLoader ( IMaterialLibrary materialLibrary ) : System
materialLibrary IMaterialLibrary
return System

ParseLine() protected method

protected ParseLine ( string keyword, string data ) : void
keyword string
data string
return void