Class constructor

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

Syntax

C#
public Light(
	XYZ position,
	float[] ambient,
	float[] diffuse,
	float[] specular,
	int lightNum
)
Visual Basic (Declaration)
Public Sub New ( _
	position As XYZ, _
	ambient As Single(), _
	diffuse As Single(), _
	specular As Single(), _
	lightNum As Integer _
)
Visual C++
public:
Light(
	XYZ^ position, 
	array<float>^ ambient, 
	array<float>^ diffuse, 
	array<float>^ specular, 
	int lightNum
)

Parameters

position
Type: GLSV..::.XYZ
Light position
ambient
Type: array< System..::.Single >[]()[]
Ambient factor
diffuse
Type: array< System..::.Single >[]()[]
Diffuse factor
specular
Type: array< System..::.Single >[]()[]
Specular factor
lightNum
Type: System..::.Int32
Number of light

See Also