Skip to content

LightHandle beta ​

Interface of @v12-engine/client

ts
export interface LightHandle

A light added to the scene: changed, or taken away again

Members ​

def ​

ts
readonly def: Readonly<LightDef>;

The light's description, as it is now

dispose ​

ts
dispose(): void;

Takes the light away

set ​

ts
set(change: Partial<LightDef>): void;

Changes some of the light's description; it takes effect at once