UNPKG

three

Version:

JavaScript 3D library

30 lines (24 loc) 608 B
import { Color } from './../math/Color'; 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?: Color | string | number, color2?: Color | string | number ); /** * @default 'GridHelper' */ type: string; /** * @deprecated Colors should be specified in the constructor. */ setColors( color1?: Color | string | number, color2?: Color | string | number ): void; }