C# Class GraphicsEngine.Wavefront.Loaders.MaterialLibraryLoader

Inheritance: LoaderBase, IMaterialLibraryLoader
Afficher le fichier Open project: ckarcz/GraphicsEngine Class Usage Examples

Private Properties

Свойство Type Description
AddParseAction void
GetKeywordAction Action
ParseColour GraphicsEngine.Wavefront.Models.Colour
PushMaterial void

Méthodes publiques

Méthode Description
Load ( Stream lineStream ) : void
MaterialLibraryLoader ( IMaterialLibrary materialLibrary ) : System

Méthodes protégées

Méthode Description
ParseLine ( string keyword, string data ) : void

Private Methods

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

Method Details

Load() public méthode

public Load ( Stream lineStream ) : void
lineStream Stream
Résultat void

MaterialLibraryLoader() public méthode

public MaterialLibraryLoader ( IMaterialLibrary materialLibrary ) : System
materialLibrary IMaterialLibrary
Résultat System

ParseLine() protected méthode

protected ParseLine ( string keyword, string data ) : void
keyword string
data string
Résultat void