UNPKG

629 BTypeScriptView Raw
1import { ColorRepresentation } from '../utils';
2import { LineSegments } from './../objects/LineSegments';
3
4export class GridHelper extends LineSegments {
5 /**
6 * @param [size=10]
7 * @param [divisions=10]
8 * @param [color1=0x444444]
9 * @param [color2=0x888888]
10 */
11 constructor(size?: number, divisions?: number, color1?: ColorRepresentation, color2?: ColorRepresentation);
12
13 /**
14 * @default 'GridHelper'
15 */
16 type: string;
17
18 /**
19 * @deprecated Colors should be specified in the constructor.
20 */
21 setColors(color1?: ColorRepresentation, color2?: ColorRepresentation): void;
22}