gfx.sky.panorama.set_texture
Client
Sets the texture of the panorama sky material
Syntax
local status = gfx.sky.panorama.set_texture(
path
)Parameters
| Type | Name | Description |
|---|---|---|
string | path | File path of the panorama texture to assign |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.sky.panorama.set_texture("assets/sky/panorama.hdr")