DX9ToolsR4 - Created by: X

LightHelpers.CreateDirectionalLight Method 

Creates a directional light.

[Visual Basic]
Public Shared Function CreateDirectionalLight( _
   ByVal Color As Color, _
   ByVal Orient As Direction _
) As Light
[C#]
public static Light CreateDirectionalLight(
   Color Color,
   Direction Orient
);

Parameters

Color
The color of the light.
Orient
The lights orientation.

Return Value

Returns a reference to a Direct3D.Light type.

See Also

LightHelpers Class | CBX.Libs.DX9ToolsR4 Namespace