C# Class HelixToolkit.Wpf.SharpDX.ObjReader.MaterialDefinition

A material definition.
The file format is documented in http://en.wikipedia.org/wiki/Material_Template_Library.
Afficher le fichier Open project: inventhelp/helix-toolkit

Méthodes publiques

Méthode Description
GetMaterial ( string texturePath ) : HelixToolkit.Wpf.SharpDX.Material

Gets the material from the specified path.

MaterialDefinition ( ) : System

Initializes a new instance of the MaterialDefinition class.

Private Methods

Méthode Description
CreateMaterial ( string texturePath ) : HelixToolkit.Wpf.SharpDX.Material

Creates the material.

LoadImage ( string path ) : BitmapImage

Method Details

GetMaterial() public méthode

Gets the material from the specified path.
public GetMaterial ( string texturePath ) : HelixToolkit.Wpf.SharpDX.Material
texturePath string /// The texture path. ///
Résultat HelixToolkit.Wpf.SharpDX.Material

MaterialDefinition() public méthode

Initializes a new instance of the MaterialDefinition class.
public MaterialDefinition ( ) : System
Résultat System