hemisphereBuilder.d.ts 687 B

123456789101112131415161718192021
  1. import { Mesh } from "../mesh";
  2. import type { Scene } from "../../scene";
  3. /**
  4. * Creates a hemisphere mesh
  5. * @param name defines the name of the mesh
  6. * @param options defines the options used to create the mesh
  7. * @param scene defines the hosting scene
  8. * @returns the hemisphere mesh
  9. */
  10. export declare function CreateHemisphere(name: string, options?: {
  11. segments?: number;
  12. diameter?: number;
  13. sideOrientation?: number;
  14. }, scene?: Scene): Mesh;
  15. /**
  16. * Class containing static functions to help procedurally build meshes
  17. * @deprecated use the function directly from the module
  18. */
  19. export declare const HemisphereBuilder: {
  20. CreateHemisphere: typeof CreateHemisphere;
  21. };