gfx.sky.set_mode

Client

Sets the material type of the sky


Syntax

local status = gfx.sky.set_mode(
    mode
)

Parameters

TypeNameDescription
gfx.sky.sky_modemodeSky material type to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set sky material type to procedural
gfx.sky.set_mode(gfx.sky.sky_mode.PROCEDURAL)

On this page