API Model SetLight

Specifies model lighting. Model:SetLight(enabled&#91;, omni, dirX,dirY,dirZ, ambIntensity&#91;,ambR,ambG,ambB&#91;, dirIntensity&#91;,dirR,dirG,dirB&#93;&#93;&#93;&#93;)]]

Arguments

 * enabled: Boolean - appears to be true for lit and false for unlit.
 * omni: Boolean - If the light is omnidirectional [lighting in all directions] (defaults to false)
 * dirX, dirY, dirZ: Number - vector from the origin to where the light source should face.
 * ambIntensity: Number - intensity of the ambient component of the light source.
 * ambR, ambG, ambB: Number - color of the ambient component of the light source (0-1)
 * dirIntensity: Number - intensity of the direct component of the light source.
 * dirR, dirG, dirB: Number - color of the direct component of the light source (0-1)