C# 클래스 HelixToolkit.Wpf.ObjReader.MaterialDefinition

A material definition.
The file format is documented in http://en.wikipedia.org/wiki/Material_Template_Library.
파일 보기 프로젝트 열기: inventhelp/helix-toolkit

공개 메소드들

메소드 설명
GetMaterial ( string texturePath ) : System.Windows.Media.Media3D.Material

Gets the material from the specified path.

MaterialDefinition ( string name ) : System

Initializes a new instance of the MaterialDefinition class.

비공개 메소드들

메소드 설명
CreateMaterial ( string texturePath ) : System.Windows.Media.Media3D.Material

Creates the material.

CreateTextureBrush ( string path ) : System.Windows.Media.ImageBrush

Creates a texture brush.

메소드 상세

GetMaterial() 공개 메소드

Gets the material from the specified path.
public GetMaterial ( string texturePath ) : System.Windows.Media.Media3D.Material
texturePath string /// The texture path. ///
리턴 System.Windows.Media.Media3D.Material

MaterialDefinition() 공개 메소드

Initializes a new instance of the MaterialDefinition class.
public MaterialDefinition ( string name ) : System
name string The name.
리턴 System