import { ContextManager } from '@zcomponent/core'; import * as THREE from 'three'; import { BufferGeometry, BufferGeometryConstructorProps } from './BufferGeometry'; /** * Interface for constructor properties of PlaneGeometry. */ interface PlaneGeometryConstructorProps extends BufferGeometryConstructorProps { /** * Width along the X axis. Default is 1. * @zprop * @zdefault 1 */ width?: number; /** * Height along the Y axis. Default is 1. * @zprop * @zdefault 1 */ height?: number; /** * Optional. Default is 1. * @zprop * @zdefault 1 */ widthSegments?: number; /** * Optional. Default is 1. * @zprop * @zdefault 1 */ heightSegments?: number; } /** * A Component for generating a plane geometry. * * Root element: [THREE.PlaneGeometry](https://threejs.org/docs/#api/en/geometries/PlaneGeometry) * * @zcomponent * @zgroup Geometry * @zicon geometry * @ztag three/Geometry/PlaneGeometry * @zparents three/Object3D/Mesh/Mesh */ export declare class PlaneGeometry extends BufferGeometry { /** * Constructs a PlaneGeometry. * @param contextManager - The context manager. * @param props - The properties required to construct a PlaneGeometry. */ constructor(contextManager: ContextManager, props: PlaneGeometryConstructorProps); } export {};