Skip to main content

boolean3d

3d · render · 1 property · 3D

Draw this node as its children combined -- joined, cut out of one another, or only where they overlap. The children stay in the tree, hidden and editable, and moving one recomputes the result.

In a scene, boolean3d is the node key that applies it. A script reaches the same properties through node.boolean3d.get() and node.boolean3d.set(table).

Properties

propertytypedefaultdescription
openumunionHow the children are combined, in the order they are declared One of union, difference, intersection.

Script functions

Methods of node.boolean3d, the handle a node carrying this component exposes. Each is also a free function on its module, taking the node as its first argument. Every handle also has get(), set(table), has() and remove().

From render:

methodwhat it does
built_mesh() -> anyThe triangles the node's boolean settled on, as #{ positions, indices } ready to be written out as a mesh asset; nil when the node draws no built geometry.