@novorender/api / ClippingMode
Enumeration: ClippingMode
Defined in: @novorender/src/core3d/state/index.ts:466
How to combine the half-spaces of multiple clipping planes into a clipping volume.
Enumeration Members
Enumeration Member | Value | Description | Defined in |
---|---|---|---|
intersection | 0 | Use the intersection of the clipping plane half-spaces. Remarks This is useful for creating a clipping space where everything outside e.g. a slab or a box is clipped/hidden. inside_volume = inside(plane0) AND inside(plane1) AND ... | @novorender/src/core3d/state/index.ts:473 |
union | 1 | Use the union of the clipping plane half-spaces. Remarks This is useful for creating spaces where everything inside e.g. a slab or a box is clipped/hidden. inside_volume = inside(plane0) OR inside(plane1) OR ... | @novorender/src/core3d/state/index.ts:481 |