API

Variable IcoSphereBuilderConst

IcoSphereBuilder: {
    CreateIcoSphere: (
        name: string,
        options?: {
            backUVs?: Vector4;
            flat?: boolean;
            frontUVs?: Vector4;
            radius?: number;
            radiusX?: number;
            radiusY?: number;
            radiusZ?: number;
            sideOrientation?: number;
            subdivisions?: number;
            updatable?: boolean;
        },
        scene?: Nullable<Scene>,
    ) => Mesh;
} = ...

Class containing static functions to help procedurally build meshes

Type Declaration

  • CreateIcoSphere: (
        name: string,
        options?: {
            backUVs?: Vector4;
            flat?: boolean;
            frontUVs?: Vector4;
            radius?: number;
            radiusX?: number;
            radiusY?: number;
            radiusZ?: number;
            sideOrientation?: number;
            subdivisions?: number;
            updatable?: boolean;
        },
        scene?: Nullable<Scene>,
    ) => Mesh

use the function directly from the module