MaterialKeyedCollection.Add (String, Color, Color, Single, Image) Method
Adds a new material definition.
Public Sub Add( _
ByVal name As String, _
ByVal ambient As Color, _
ByVal specular As Color, _
ByVal shininess As Single, _
Optional ByVal texture As Image = null _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
name
-
string
The material name
-
ambient
-
Color
The material ambient intensity
-
specular
-
Color
The material specular intensity
-
shininess
-
float
The material shininess factor (0-1)
-
texture
-
Image
The material texture image
.NET Framework
Supported in: 4.8