Create a ClippingController — the scene-wide slice/clip facade.
layers: 3D layers to register up front (more can be added later).
layers
The controller.
const clipping = createClippingController({ layers: [buildings, pointCloud] });clipping.setPlanes({ planes: [planeFromHeadingTilt({ lng, lat }, 90)] });clipping.setEnabled(false); // hide the cut, keep the plane Copy
const clipping = createClippingController({ layers: [buildings, pointCloud] });clipping.setPlanes({ planes: [planeFromHeadingTilt({ lng, lat }, 90)] });clipping.setEnabled(false); // hide the cut, keep the plane
Create a ClippingController — the scene-wide slice/clip facade.