Eyeshot 10 WPF API Reference
Add(String,Color,Color,Color,Single) Method

WPF Assembly > devDept.Eyeshot Namespace > MaterialDictionary Class > Add Method : Add(String,Color,Color,Color,Single) Method
The material name
The material ambient intensity
The material diffuse intensity
The material specular intensity
The material shininess factor (0-1)
Adds a new material definition.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal name As String, _
   ByVal ambient As Color, _
   ByVal diffuse As Color, _
   ByVal specular As Color, _
   ByVal shininess As Single _
) 
public void Add( 
   string name,
   Color ambient,
   Color diffuse,
   Color specular,
   float shininess
)

Parameters

name
The material name
ambient
The material ambient intensity
diffuse
The material diffuse intensity
specular
The material specular intensity
shininess
The material shininess factor (0-1)
See Also

Reference

MaterialDictionary Class
MaterialDictionary Members
Overload List