Definition
double GetTerrainShininess()
Description
This function returns the shininess of terrain object.
Return Value
Shininess of terrain.
Example
shininess = 0.0 function Init() shininess = GetTerrainShininess() message = string.format("\nTerrain shininess is > %.2f" ,shininess) PrintConsole(message) end function Update() end
In this example, the GetTerrainShininess function returns the shininess value of terrain object. Then shininess value is displayed on the console by the PrintConsole function.
GetTerrainShininess