⚲
Class:
Camera
Lua
C++
Edit
Camera:SetFogColor
This method controls the color of the camera distance fog effect.
Syntax
SetFogColor
(number r, number g, number b, number a = 1)
SetFogColor
(
Vec4
color)
Parameter
Description
color (r,g,b,a)
Fog color to set. The alpha color controls the density of the fog at max distance.
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation