gfx.sky.panorama.set_texture

Client

Sets the texture of the panorama sky material


Syntax

local status = gfx.sky.panorama.set_texture(
    path
)

Parameters

TypeNameDescription
stringpathFile path of the panorama texture to assign

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set panorama sky texture
gfx.sky.panorama.set_texture("assets/sky/panorama.hdr")

On this page