UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

16 lines 433 B
import { TgdVec3, TgdVec4 } from "../math"; export interface TgdLightOptions { color: TgdVec4; direction: TgdVec3; } export declare class TgdLight { /** * The alpha channel is the intensity of the light. */ color: TgdVec4; private readonly _direction; constructor(options?: Partial<TgdLightOptions>); get direction(): TgdVec3; set direction(v: TgdVec3); } //# sourceMappingURL=light.d.ts.map