File size: 584 Bytes
2b7aae2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { ColorRepresentation } from '../utils';
import { LineSegments } from './../objects/LineSegments';

export class GridHelper extends LineSegments {
	/**
	 * @param [size=10]
	 * @param [divisions=10]
	 * @param [color1=0x444444]
	 * @param [color2=0x888888]
	 */
	constructor(size?: number, divisions?: number, color1?: ColorRepresentation, color2?: ColorRepresentation);

	/**
	 * @default 'GridHelper'
	 */
	type: string;

	/**
	 * @deprecated Colors should be specified in the constructor.
	 */
	setColors(color1?: ColorRepresentation, color2?: ColorRepresentation): void;
}