Gets whether stencil-based caps are currently applied.
The renderer additionally gates per-frame on whether any active SectionPlane carries a SectionPlane.capColor; this getter only reports the View-mode side of that gate.
Gets this SectionPlaneCaps as JSON.
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
falseto 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 tofalseso the section planes don't clip them.