155 void setRange(
int lightID,
float rangeValue );
172 void setDiffuseColor(
int lightID,
float colR,
float colG,
float colB );
242 int spawnLight(
int lightType,
float posx,
float posy,
float posz );
int setSpecularColor(int lightID, float colR, float colG, float colB)
Set the Specular Color of the light.
Definition: LUA_API_Light.h:94
void setDiffuseColor(int lightID, float colR, float colG, float colB)
Set the Diffuse Color of the light.
float3 getSpecularColor(int lightID)
Get the Specular color of a specific light and return the color to a float3.
void setBrightness(int lightID, float intensityValue)
Set the absolute setBrightness of a light.
void setIntensity(int lightID, float intensityValue)
Set the Intensity(Brightness) of a light. This is an accumulative effect.
int spawnLight(int lightType, float posx, float posy, float posz)
Spawns a light to the arg pos and returns the id of this light.
void setRange(int lightID, float rangeValue)
Set the Range of the light, this will affect how far the light will reach. Entities outside the rang...
float3 getDiffuseColor(int lightID)
Get the Diffuse color of a specific light and return the color to a float3.
void enableShadows(int lightID)
Set the enable state of this lights shadows.