@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
45 lines • 1.17 kB
TypeScript
export class AbstractLight {
id: number;
toString(): string;
/**
*
* @param {function} f
* @param {*} [thisArg]
* @returns {void}
*/
onDimensionChanged(f: Function, thisArg?: any): void;
/**
*
* @param {function} f
* @param {*} [thisArg]
* @returns {void}
*/
offDimensionChanged(f: Function, thisArg?: any): void;
/**
*
* @param {number[]} result
* @returns {void}
*/
getCenter(result: number[]): void;
/**
*
* @param {number[]|ArrayLike<number>|Float32Array} result
* @returns {void}
*/
getAABB(result: number[] | ArrayLike<number> | Float32Array): void;
/**
*
* @param {number[]|Float32Array|Float64Array} destination
* @param {number} address
* @returns {number} number of records written, measured in destination array slots
*/
toArray(destination: number[] | Float32Array | Float64Array, address: number): number;
/**
*
* @param {AbstractLight} other
* @returns {number}
*/
compare(other: AbstractLight): number;
type: string;
}
//# sourceMappingURL=AbstractLight.d.ts.map