gfx.env.set_reflection_source

Client

Sets the reflection source of the environment


Syntax

local status = gfx.env.set_reflection_source(
    source
)

Parameters

TypeNameDescription
gfx.env.reflection_sourcesourceReflection source to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set environment reflection source to background
gfx.env.set_reflection_source(gfx.env.reflection_source.BG)

On this page