Model loading · function

orientLights

Authored lights, turned into the engine's frame by the turn orientMeshes gives the geometry.

Explained in Importing models.

function orientLights(lights: readonly DrftLight[], assetUp: UpAxis): DrftLight[]
import { orientLights } from '@driftengine/assets';

Parameters

ParameterTypeDescription
lightsreadonly DrftLight[]
assetUpUpAxis