Skip to main content

@novorender/web_app / ClippingMode

Enumeration: ClippingMode

How to combine the half-spaces of multiple clipping planes into a clipping volume.

Enumeration Members

Enumeration MemberValueDescriptionDefined in
intersection0Use 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/core3d/state/index.ts:453
union1Use 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/core3d/state/index.ts:461