set_clipping
Set clipping planes on a renderer or material in a live Three.js scene to control visible geometry; changes are tracked and can be undone.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Change clipping planes on the renderer (global) or a material.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Material (target=material) name | |
| uuid | No | Material (target=material) UUID | |
| planes | No | ||
| target | No | Default: renderer | |
| enabled | No | false removes the material's planes | |
| clipShadows | No | Material | |
| clipIntersection | No | Material: intersection instead of union | |
| localClippingEnabled | No | Renderer |