⚲
Class:
Camera
Lua
C++
Edit
Camera:SetClearColor
This method sets the color the camera will be cleared with.
Syntax
SetClearColor
(number red, number green, number blue, number alpha = 1)
SetClearColor
(
Vec4
color)
SetClearColor
(number brightness)
Parameter
Description
color, (r, g, b, a)
RGBA color to set
brightness
grayscale color to set
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation