What it does
light.createHemispheric creates a Hemispheric in light. It takes id, dirX, dirY and dirZ.
Signature
light.createHemispheric(id, dirX, dirY, dirZ)Arguments
iddirXdirYdirZ
Example · generated
function start() { light.createHemispheric('hemispheric', 0, 2, 0);}light.createHemispheric 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.