gfx.sky.procedural.set_ground_horizon_color
Client
Sets the horizon color of the procedural ground
Syntax
local status = gfx.sky.procedural.set_ground_horizon_color(
color
)local status = gfx.sky.procedural.set_ground_horizon_color(
hex
)Parameters
| Type | Name | Description |
|---|---|---|
color | color | Horizon color of the procedural ground as {r, g, b, a} |
string | hex | Alternatively, a valid HTML hex color string (e.g. "#ffffff") |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.sky.procedural.set_ground_horizon_color({0.3, 0.25, 0.2, 1.0})gfx.sky.procedural.set_ground_horizon_color("#4d4033")