Click or drag to resize
Ab4d.SharpEngine logo

DirectionalLight(Single, Single, Single) Constructor

Initializes a new instance of the DirectionalLight class.

Namespace: Ab4d.SharpEngine.Lights
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public DirectionalLight(
	float xDirection,
	float yDirection,
	float zDirection
)

Parameters

xDirection  Single
x component of the light direction vector
yDirection  Single
y component of the light direction vector
zDirection  Single
z component of the light direction vector
See Also