setCropBox method

void setCropBox(
  1. Matrix4? box, {
  2. SplatCropMode mode = SplatCropMode.include,
})

Sets or clears the crop box. box places a unit cube (corners at +/-1) in the set's local space, and mode keeps only the splats inside it or drops them. Cropping runs per frame on the GPU, so the box can animate freely.

Implementation

void setCropBox(
  vm.Matrix4? box, {
  SplatCropMode mode = SplatCropMode.include,
}) => _geometry.setCropBox(box, mode: mode);