True once this SectionPlane has been destroyed.
ID of this SectionPlane, unique within the View.
ReadonlyviewThe View to which this SectionPlane belongs.
Gets if this SectionPlane is active or not.
Default value is true.
Returns true if active.
Sets if this SectionPlane is active or not.
Default value is true.
Set true to activate else false to deactivate.
Per-plane "cap" colour. When null (the default), the
fragment shader treats this plane as a pure clipping
plane — back faces in the clipped half-space discard
along with front faces, leaving a visible cut-away.
When set to an RGB triple, the shader keeps back-facing fragments in the clipped region and colours them with this value — producing a flat "fill" on the cut surface that reads as a cross-section cap. Each section plane can carry its own cap colour or none.
The material's hatch pattern (if any) still applies on top of the cap colour, so cross-sections of hatched materials show their conventional fill — engineering- standard masonry sections look like masonry, steel like steel.
Gets this SectionPlane's distance to the origin of the World-space coordinate system.
This is the dot product of SectionPlane.pos and SectionPlane.dir and is automatically re-calculated each time either of two properties are updated.
Distance to the origin of the World-space coordinate system.
Destroys this SectionPlane.
Inverts the direction of SectionPlane.dir.
COnfigures this SectionPlane.
Gets the current configuration of this SectionPlane.
An arbitrarily-aligned World-space clipping plane.
See @xeokit/sdk/viewing/viewer for usage info.