This method sets the material properties

Namespace:  GLSV
Assembly:  GLSV (in GLSV.dll) Version: 1.2009.6.26 (1.2009.06.26)

Syntax

C#
public void SetMaterial(
	float[] ambient,
	float[] diffuse,
	float[] specular
)
Visual Basic (Declaration)
Public Sub SetMaterial ( _
	ambient As Single(), _
	diffuse As Single(), _
	specular As Single() _
)
Visual C++
public:
void SetMaterial(
	array<float>^ ambient, 
	array<float>^ diffuse, 
	array<float>^ specular
)

Parameters

ambient
Type: array< System..::.Single >[]()[]
set ambient light
diffuse
Type: array< System..::.Single >[]()[]
set diffuse light
specular
Type: array< System..::.Single >[]()[]
set specular light

See Also