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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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