Skip to main content

novorender-api-docs / namespaces / DataJsAPI / Bookmark / ClippingVolume

Interface: ClippingVolume

Clipping volume settings.

Remarks

Clipping volume allows for a set of up to 6 planes to define a volume that excluded from rendering. This is useful for rendering various cross sections and revealing internal geometry.

Properties

enabled

enabled: boolean;

Whether to clip geometry by the actual bounding box or not.


mode

mode: "intersection" | "union";

How multiple clipping planes are combined. Default: "union"


planes

planes: readonly ReadonlyVec4[];

List of clipping planes (max 6), expressed as plane normal (x,y,z) and offset from origo (w) in a 4D world space vector.