C# Class Ms3dLoader.Material

Show file Open project: tpb3d/TPB3D Class Usage Examples

Public Properties

Property Type Description
alphaMapFile string
ambient System.Vector4
diffuse System.Vector4
emissive System.Vector4
mode sbyte
name string
shininess float
specular System.Vector4
textureFile string
transparency float

Public Methods

Method Description
GetOOGLMaterial ( string ms3dFileName ) : OOGL.Animation.Material
Material ( BinaryReader r ) : System
ToString ( ) : string

Private Methods

Method Description
ReadColor ( BinaryReader reader ) : System.Vector4

Method Details

GetOOGLMaterial() public method

public GetOOGLMaterial ( string ms3dFileName ) : OOGL.Animation.Material
ms3dFileName string
return OOGL.Animation.Material

Material() public method

public Material ( BinaryReader r ) : System
r System.IO.BinaryReader
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

alphaMapFile public property

public string alphaMapFile
return string

ambient public property

public Vector4,System ambient
return System.Vector4

diffuse public property

public Vector4,System diffuse
return System.Vector4

emissive public property

public Vector4,System emissive
return System.Vector4

mode public property

public sbyte mode
return sbyte

name public property

public string name
return string

shininess public property

public float shininess
return float

specular public property

public Vector4,System specular
return System.Vector4

textureFile public property

public string textureFile
return string

transparency public property

public float transparency
return float