What it does
dayNight.update takes dt.
Signature
dayNight.update(dt)Arguments
dt
Example · generated
function start() { dayNight.update(0.016);}dayNight.update 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.