Documentation
›
API Reference
›
Object
›
Entity
›
Camera
SetFogMode
Lua
C++
This function is used to enable fog.
Syntax
SetFogMode
(boolean mode)
Parameters
mode:
if true then fog will be enabled, otherwise fog will be disabled.