IFClite TypeScript API
    Preparing search index...

    Interface DemeshSessionOptions

    interface DemeshSessionOptions {
        geometryProcessor?: GeometryProcessor;
        meshes?: MeshData[];
        originShift?: { x: number; y: number; z: number };
        unitScale?: number;
    }
    Index
    geometryProcessor?: GeometryProcessor

    Reuse the app's initialized GeometryProcessor instead of creating one.

    meshes?: MeshData[]

    Already-produced meshes for this model (the viewer's MeshData[]) — supply them together with originShift from the load's coordinateInfo to skip the session's own meshing pass. When omitted, the session meshes the bytes itself on first use.

    originShift?: { x: number; y: number; z: number }

    coordinateInfo.originShift of the load that produced meshes.

    unitScale?: number

    Metres per project length unit; extracted from the file when omitted.