Definition
SetTerrainDiffuse(float red, float green, float blue)
Description
This function sets the diffuse color of terrain object.
Parameters
red, green, blue
Specify the red, green and blue components of terrain diffuse color. Each value is in the range [0.0,1.0].
Example
function Init() SetTerrainDiffuse(0.25, 0.5, 0.75) end function Update() end
In this example, the SetTerrainDiffuse function sets the red, green, and blue components of the terrain diffuse color to (0.25, 0.5, 0.75), respectively.
SetTerrainDiffuse