UNPKG

three

Version:

JavaScript 3D library

33 lines (26 loc) 744 B
import { BufferGeometry } from './../core/BufferGeometry'; export class PlaneGeometry extends BufferGeometry { /** * @param [width=1] — Width of the sides on the X axis. * @param [height=1] — Height of the sides on the Y axis. * @param [widthSegments=1] — Number of segmented faces along the width of the sides. * @param [heightSegments=1] — Number of segmented faces along the height of the sides. */ constructor( width?: number, height?: number, widthSegments?: number, heightSegments?: number ); /** * @default 'PlaneGeometry' */ type: string; parameters: { width: number; height: number; widthSegments: number; heightSegments: number; }; } export { PlaneGeometry as PlaneBufferGeometry };