Material(Color, Color, Color, Single, Single, Image, Image) Constructor

NOTE: This member is now obsolete. Use the constructor that accepts the name as first parameter instead.

Obsolete constructor.
Public Sub New( _ 
ByVal ambient As Color, _ 
ByVal diffuse As Color, _ 
ByVal specular As Color, _ 
ByVal shininess As Single, _ 
Optional ByVal environment As Single = DefaultEnvironment, _ 
Optional ByVal texture As Image = null, _ 
Optional ByVal environmentMapping As Image = null _ 
)
This language is not supported or no code example is available.
public Material( 
Color ambient
Color diffuse
Color specular
float shininess
float environment = DefaultEnvironment, 
Image texture = null, 
Image environmentMapping = null 
)
This language is not supported or no code example is available.

Parameters

ambient
Color

Material ambient intensity

diffuse
Color

Material diffuse intensity

specular
Color

Material specular intensity

shininess
float

Material shininess factor (0-1)

environment
float

Material environment intensity

texture
Image

Material texture image

environmentMapping
Image

Material's environment mapping image

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition