Renderer · function
updateFlame
Where the flame's light is and how bright, at timeSeconds. Writes flame.light in place.
Explained in Hello world.
function updateFlame(flame: Flame, timeSeconds: number): voidimport { updateFlame } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
flame | Flame | |
timeSeconds | number |