Renderer · interface

WorldLightFieldOptions

Explained in Hello world.

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

Properties

NameTypeDescription
bandreadonlyoptionalnumberMetres over which exact and summed light crossfade at the shading radius. Two by default.
fadeSecreadonlyoptionalnumberSeconds the volume fades in over; zero behind a loading screen, whose clock may be held.