Skip to main content

@novorender/web_app / RenderStateClipping

Interface: RenderStateClipping

Clipping related render state.

Properties

draw

readonly draw: boolean;

Whether or not to visualize the clipping planes themselves.

Defined in

@novorender/core3d/state/index.ts:512


enabled

readonly enabled: boolean;

Whether to enable or disable geometry clipping.

Remarks

Clipping only applies to static/streamble geometry. Enabling clipping comes at a minor cost of rendering performance.

Defined in

@novorender/core3d/state/index.ts:507


mode

readonly mode: ClippingMode;

How to combine multiple clipping planes.

Defined in

@novorender/core3d/state/index.ts:515


planes

readonly planes: readonly RenderStateClippingPlane[];

An array of up to 6 clipping planes.

Defined in

@novorender/core3d/state/index.ts:518