IFClite TypeScript API
    Preparing search index...

    Interface ClipBox

    Axis-aligned clip box (section / crop box): geometry is kept only where it lies INSIDE all six box planes; fragments outside the box are discarded by the shader (real geometry cut, unlike bounding-box element isolation). Coordinates are in the same world space the shader sees as input.worldPos — i.e. the viewer space the camera/section planes use. Independent of sectionPlane; both can be active at once.

    interface ClipBox {
        enabled: boolean;
        max: [number, number, number];
        min: [number, number, number];
    }
    Index
    enabled: boolean

    When false (or omitted), the box has no effect.

    max: [number, number, number]

    Box max corner [x, y, z] in world space.

    min: [number, number, number]

    Box min corner [x, y, z] in world space.