What it does
skybox.createFromTexture creates a FromTexture in skybox. It takes url.
Signature
skybox.createFromTexture(url)Arguments
url
Example · generated
function start() { skybox.createFromTexture('/skybox/day.env');}skybox.createFromTexture is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.