ModelLightDef beta
Interface of @v12-engine/client
ts
export interface ModelLightDef extends Omit<LightDef, 'x' | 'y' | 'z' | 'follow'>A light a model gives (ModelDef.lights, SceneryDef.lights): a LightDef without a place of its own, at a point of the model or a node of its file (at), and from there (offset, in the model's own units, turned with it)
Members
at
ts
at?: string;A point of the model (ModelDef.points) or a node of its file, by name: its origin, at its feet, when left out
name
ts
name?: string;What it is called, for the editor and for code that picks one of several
offset
ts
offset?: [number, number, number];How far from there, in the model's own units