float getFogLinearStart()
Get the Linear start (close to camera) of the fog if using a linear fog mode. If using Exp or Exp2...
void setFogColour(float r, float g, float b)
Set the colour of the fog in the scene using an RGB param set.
void setFogLinearEnd(float linearEnd)
Set the linear End range (Far from camera) for a linear Fog mode.
void setFogEnabled(int state)
Enable or Disable the use of fog in a scene through lua.
float3 getFogColour()
Return the colour of the current fog in the scene.
void setFogMode(int mode)
Set the fog mode to use. Choices are Linear, Exp or Exp2.
float getFogDensity()
Get the density of the fog if using an Exp or Exp2 fog mode. If using Linear, then please use getFogL...
float getFogLinearEnd()
Get the Linear end (far from camera) of the fog if using a linear fog mode. If using Exp or Exp2...
void setFogLinearStart(float linearStart)
Set the linear Starting range (close to camera) for a linear Fog mode.
int getFogMode()
Get the current fog mode whether it is Linear, Exp or Exp2.
void setFogDensity(float density)
Control the density of the fog for an Exp or Exp2 fog mode.
Definition: LUA_API_States.h:28
Definition: LUA_API_Scene.h:26
int isFogEnabled()
Return whether fog is enabled. 1 = enabled, 0 = disabled.