Convenience generator for building shell meshes from scene objects.

The class holds no mutable generation state; create one long-lived instance per caller or call generateShellFromSceneObjects directly.

Generated positions are local to the returned ShellGeneratorResult.center. This keeps large-coordinate source geometry numerically stable and lets runtime code place one shell mesh at the returned center.

import {ShellGenerator} from "@xeokit/sdk/model/lod";

const generator = new ShellGenerator();
const shell = generator.generate(objects, {
shellResolution: 64,
extraction: "voxelFaces"
});

Constructors

Methods

Constructors

Methods