gfx.sky.physical.set_ground_color
Client
Sets the ground color of the physical sky material
Syntax
local status = gfx.sky.physical.set_ground_color(
color
)local status = gfx.sky.physical.set_ground_color(
hex
)Parameters
| Type | Name | Description |
|---|---|---|
color | color | Ground color 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.physical.set_ground_color({0.1, 0.07, 0.034, 1.0})gfx.sky.physical.set_ground_color("#1a1208")