Renderer · interface
Flame
Explained in Hello world.
interface Flameimport type { Flame } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
lightreadonly | PointLightSource | Rewritten by updateFlame. Offer it to selectPointLights with the scene's other lights. |
plumereadonly | PlumePlacement | Where the plume stands and how big it is, for createPlumes. |
frequencyHzreadonly | number | Pulses a second: 1.5 / √D. |
centrereadonly | Vec3 | |
colorreadonly | Vec3 | |
flickerreadonly | number | |
phasereadonly | number | |
swayMreadonly | number |