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): void
import { updateFlame } from '@driftengine/core';

Parameters

ParameterTypeDescription
flameFlame
timeSecondsnumber