Type alias CSGPrimitive

CSGPrimitive: {
    center?: boolean;
    primitive: "cube";
    size?: [number, number, number] | number;
} | {
    center?: boolean;
    circularSegments?: number;
    height: number;
    primitive: "cylinder";
    radiusHigh?: number;
    radiusLow: number;
} | {
    circularSegments?: number;
    primitive: "sphere";
    radius: number;
} | {
    primitive: "tetrahedron";
}

A Manifold CSG primitive. Using procedural meshes is preferred over this as Manifold always creates surfaces with smooth normals, no tangents and no texture coordinates.

Generated using TypeDoc