UNPKG

842 BTypeScriptView Raw
1import { BufferGeometry } from './../core/BufferGeometry';
2
3export class PlaneGeometry extends BufferGeometry {
4 /**
5 * @param [width=1] — Width of the sides on the X axis.
6 * @param [height=1] — Height of the sides on the Y axis.
7 * @param [widthSegments=1] — Number of segmented faces along the width of the sides.
8 * @param [heightSegments=1] — Number of segmented faces along the height of the sides.
9 */
10 constructor(width?: number, height?: number, widthSegments?: number, heightSegments?: number);
11
12 /**
13 * @default 'PlaneGeometry'
14 */
15 type: string;
16
17 parameters: {
18 width: number;
19 height: number;
20 widthSegments: number;
21 heightSegments: number;
22 };
23
24 static fromJSON(data: any): PlaneGeometry;
25}
26
27export { PlaneGeometry as PlaneBufferGeometry };