CSGShape.Operation/operation - multiple declarations

Function CSGShape.operation

The operation that is performed on this shape. This is ignored for the first CSG child node as the operation is between this node and the previous child of this nodes parent.

CSGShape.Operation operation() nothrow @property @nogc;

void operation (
  long v
) nothrow @property @nogc;

Enum CSGShape.Operation

enum Operation : int { ... }

Enum members

NameDescription
operationIntersection Only intersecting geometry remains, the rest is removed.
operationSubtraction The second shape is subtracted from the first, leaving a dent with its shape.
operationUnion Geometry of both primitives is merged, intersecting geometry is removed.