Material(String, Color, Color, Color, Single) Constructor

Standard constructor.
Public Sub New( _ 
ByVal name As String, _ 
ByVal ambient As Color, _ 
ByVal diffuse As Color, _ 
ByVal specular As Color, _ 
ByVal shininess As Single
)
This language is not supported or no code example is available.
public Material( 
string name
Color ambient
Color diffuse
Color specular
float shininess 
)
This language is not supported or no code example is available.

Parameters

name
string

The material name.

ambient
Color

Material ambient intensity

diffuse
Color

Material diffuse intensity

specular
Color

Material specular intensity

shininess
float

Material shininess factor (0-1)

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition