@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
51 lines • 1.2 kB
TypeScript
export class SpotLight extends AbstractLight {
/**
* @readonly
* @type {Vector3}
*/
readonly position: Vector3;
/**
* @readonly
* @type {Vector3}
*/
readonly direction: Vector3;
/**
* @readonly
* @type {Vector1}
*/
readonly angle: Vector1;
/**
* @readonly
* @type {Vector1}
*/
readonly distance: Vector1;
/**
* @readonly
* @type {Color}
*/
readonly color: Color;
/**
* @readonly
* @type {Vector1}
*/
readonly intensity: Vector1;
/**
* @readonly
* @type {Vector1}
*/
readonly penumbra: Vector1;
getCenter(result: any): void;
getAABB(result: any): void;
onDimensionChanged(listener: any, context: any): void;
offDimensionChanged(listener: any, context: any): void;
/**
* @readonly
* @type {boolean}
*/
readonly isSpotLight: boolean;
}
import { AbstractLight } from "./AbstractLight.js";
import Vector3 from "../../../../../core/geom/Vector3.js";
import Vector1 from "../../../../../core/geom/Vector1.js";
import { Color } from "../../../../../core/color/Color.js";
//# sourceMappingURL=SpotLight.d.ts.map