Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
createDirLight(<sLightName>, <tPosition>, <tColour>)

Description
Creates a new directional light.

Example

Arguments
<sLightName>: the name of the light.
<tPosition>: a table containing the XYZ coordinates of the light.
<tColour>: a table containing the RGB components of the light's color. Values greater than 1.0 are assumed to be byte values [0..255], and get scaled. So, we get a vector instead.

Scope

Related Pages:
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty