123456789101112131415161718192021222324252627282930313233343536 |
- import { BufferGeometry } from '../core/BufferGeometry';
- export class BoxBufferGeometry 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 [depth=1] — Depth of the sides on the Z 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.
- * @param [depthSegments=1] — Number of segmented faces along the depth of the sides.
- */
- constructor(
- width?: number,
- height?: number,
- depth?: number,
- widthSegments?: number,
- heightSegments?: number,
- depthSegments?: number
- );
- /**
- * @default 'BoxBufferGeometry'
- */
- type: string;
- parameters: {
- width: number;
- height: number;
- depth: number;
- widthSegments: number;
- heightSegments: number;
- depthSegments: number;
- };
- }
|