C# Class OOGL.Animation.Material

Material used in model rendering Thread safety - This class must be only be used from the main thread.
显示文件 Open project: tpb3d/TPB3D Class Usage Examples

Public Properties

Property Type Description
ambient System.Vector4
diffuse System.Vector4
emissive System.Vector4
shininess float
specular System.Vector4
texture OOGL.Textures.Texture
transparency float

Public Methods

Method Description
Material ( Texture texture, System.Vector4 ambient, System.Vector4 diffuse, System.Vector4 specular, System.Vector4 emissive, float shininess, float transparency ) : System

Method Details

Material() public method

public Material ( Texture texture, System.Vector4 ambient, System.Vector4 diffuse, System.Vector4 specular, System.Vector4 emissive, float shininess, float transparency ) : System
texture OOGL.Textures.Texture
ambient System.Vector4
diffuse System.Vector4
specular System.Vector4
emissive System.Vector4
shininess float
transparency float
return System

Property Details

ambient public_oe property

public Vector4,System ambient
return System.Vector4

diffuse public_oe property

public Vector4,System diffuse
return System.Vector4

emissive public_oe property

public Vector4,System emissive
return System.Vector4

shininess public_oe property

public float shininess
return float

specular public_oe property

public Vector4,System specular
return System.Vector4

texture public_oe property

public Texture,OOGL.Textures texture
return OOGL.Textures.Texture

transparency public_oe property

public float transparency
return float