GFXFog
gfx.fog.get_mode
Client
Retrieves the current fog mode of the fog post-processing effect
Syntax
local result = gfx.fog.get_mode()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | result | Current fog mode |
Examples
engine.print("info", "Fog mode:", gfx.fog.get_mode())