gfx.env.set_ambient_energy

Client

Sets the ambient light energy of the environment


Syntax

local status = gfx.env.set_ambient_energy(
    value
)

Parameters

TypeNameDescription
floatvalueAmbient light energy to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set environment ambient energy
gfx.env.set_ambient_energy(1.0)

On this page