FogComponent¶
The data behind Fog. In Lua, get it with fog:getFogComponent().
Properties¶
Writing a component field
Some fields take effect only once the matching needUpdate… flag is set too. See
Writing components directly.
| Name | Languages |
|---|---|
type |
C++ | Lua |
color |
C++ | Lua |
density |
C++ | Lua |
linearStart |
C++ | Lua |
linearEnd |
C++ | Lua |
color is linear here, while the Fog setter takes sRGB.