SDK JS
    Preparing search index...

    Interface SliceControllerOptions

    Configuration for createSliceController.

    interface SliceControllerOptions {
        clipping?: ClippingController;
        layers?: readonly ClippableLayer[];
        map: Map$1;
        planeSizeM?: number;
        showPlane?: boolean;
    }
    Index

    Properties

    An existing scene ClippingController to drive (preferred when the app already has one).

    layers?: readonly ClippableLayer[]

    Convenience: 3D layers to clip — a controller is created over them when clipping is omitted.

    map: Map$1

    The MapLibre map (hosts the plane visual; repaints on change).

    planeSizeM?: number

    Initial slice-volume size in metres (default 300): the half-WIDTH either side of the plane; the cut DEPTH behind it is twice this. Resize live with the widget's edge handles or a setSize action.

    showPlane?: boolean

    Show the semi-transparent plane visual (default true).