Renderer · interface

Flame

Explained in Hello world.

interface Flame
import type { Flame } from '@driftengine/core';

Properties

NameTypeDescription
lightreadonlyPointLightSourceRewritten by updateFlame. Offer it to selectPointLights with the scene's other lights.
plumereadonlyPlumePlacementWhere the plume stands and how big it is, for createPlumes.
frequencyHzreadonlynumberPulses a second: 1.5 / √D.
centrereadonlyVec3
colorreadonlyVec3
flickerreadonlynumber
phasereadonlynumber
swayMreadonlynumber