Drawing3d documented Class Library

Material Constructor

This constructor needs all properties of the material.

[Visual Basic]
Public Overloads Sub New( _
   ByVal Name As String, _
   ByVal Ambient As Color, _
   ByVal Diffuse As Color, _
   ByVal Specular As Color, _
   ByVal Emission As Color, _
   ByVal Shininess As Double, _
   ByVal Translucent As Double _
)
[C#]
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 (brilliance)
Translucent
translucence in the range form 0 to 1

See Also

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