Configures stencil-based section-plane caps for a View.

The renderer implementation uses a per-plane stencil technique — front-cull pass and back-cull pass write to the stencil counter; a quad on the cut plane is then drawn with the cap colour wherever stencil != 0. The cap surface therefore appears only where the cut plane physically intersects the model, regardless of viewing angle or geometry shape.

Set SectionPlaneCaps.enabled to false to disable the stencil pass entirely — callers who want to provide their own cap geometry (precomputed cap meshes, CSG output from a B-rep kernel, etc.) can just register those as ordinary SceneObject | SceneObjects with ViewObject.clippable set to false so the section planes don't clip them.

Properties

Accessors

Methods

Properties

view: View

The View this SectionPlaneCaps component belongs to.

Accessors

Methods