Function; createAmbientLight - HWRM/KarosGraveyard GitHub Wiki

createAmbientLight (<sLightName>, <tDiffuse>)

Description

Creates a new Ambient Light.

Example

Arguments

<sLightName>: the name of the light.
<tDiffuse>: a table containing the RGB components of the diffuse effect. 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

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️