An NDoc Documented Class Library

Material Constructor (String, Color, Color, Color, Color, Double, Double)

This constructor needs all properties of the material

public Material(
   string Name,
   Color Ambient,
   Color Diffuse,
   Color Specular,
   Color Emission,
   double Shininess,
   double Translucent
);

Parameters

Name
describes the material
Ambient
part of ambient
Diffuse
part of diffuse
Specular
part of specular
Emission
part of emission
Shininess
shininess
Translucent
translucence in the range form 0 to 1

See Also

Material Class | Minais.Drawing3d.Materials Namespace | Material Constructor Overload List