BoxBufferGeometry.d.ts 934 B

123456789101112131415161718192021222324252627282930313233343536
  1. import { BufferGeometry } from '../core/BufferGeometry';
  2. export class BoxBufferGeometry extends BufferGeometry {
  3. /**
  4. * @param [width=1] — Width of the sides on the X axis.
  5. * @param [height=1] — Height of the sides on the Y axis.
  6. * @param [depth=1] — Depth of the sides on the Z 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. * @param [depthSegments=1] — Number of segmented faces along the depth of the sides.
  10. */
  11. constructor(
  12. width?: number,
  13. height?: number,
  14. depth?: number,
  15. widthSegments?: number,
  16. heightSegments?: number,
  17. depthSegments?: number
  18. );
  19. /**
  20. * @default 'BoxBufferGeometry'
  21. */
  22. type: string;
  23. parameters: {
  24. width: number;
  25. height: number;
  26. depth: number;
  27. widthSegments: number;
  28. heightSegments: number;
  29. depthSegments: number;
  30. };
  31. }