⚲
Class:
Camera
Lua
C++
Edit
Camera::SetFogColor
This method controls the color of the camera distance fog effect.
Syntax
void
SetFogColor
(float r, float g, float b, float a = 1.0)
void
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