PlaneGeometry.d.ts 676 B

123456789101112131415161718192021222324252627282930
  1. import { Geometry } from './../core/Geometry';
  2. export class PlaneGeometry extends Geometry {
  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 [widthSegments=1] — Number of segmented faces along the width of the sides.
  7. * @param [heightSegments=1] — Number of segmented faces along the height of the sides.
  8. */
  9. constructor(
  10. width?: number,
  11. height?: number,
  12. widthSegments?: number,
  13. heightSegments?: number
  14. );
  15. /**
  16. * @default 'PlaneGeometry'
  17. */
  18. type: string;
  19. parameters: {
  20. width: number;
  21. height: number;
  22. widthSegments: number;
  23. heightSegments: number;
  24. };
  25. }