Function setClipPlane
-
Parameters
- scene: SceneContext
The scene to configure.
- plane: ClipPlane
The clip plane as
[a, b, c, d]coefficients ofa·x + b·y + c·z + d.
Returns void
- scene: SceneContext
The scene to configure.
The clip plane as [a, b, c, d] coefficients of a·x + b·y + c·z + d.
Set the scene clip plane and register its scene-uniform contributor.
The clip plane is opt-in: importing
setClipPlaneis what pulls the clip-plane UBO writer into the bundle, keeping those bytes out of scenes that never clip.