Click or drag to resize
Ab4d.SharpEngine logo

MeshBooleanOperations Methods

The MeshBooleanOperations type exposes the following members.

Methods
 NameDescription
Public methodStatic memberIntersect Returns a new StandardMesh that is created by intersecting mesh1 and mesh2 (space defined by both mesh1 and mesh2).
Public methodStatic memberSubtract(StandardMesh, StandardMesh, Boolean, Boolean) Returns a new StandardMesh that is created by subtracting mesh2 from mesh1 (space defined by mesh1 but not inside mesh2).
Public methodStatic memberSubtract(GroupNode, StandardMesh, Transform, Boolean, Boolean) Returns a GroupNode that is created by subtracting mesh from all the ModelNodes in the GroupNode. Note that the children from specified GroupNode may be moved to the returned GroupNode (this happens when they are preserved because they do not intersect with the mesh).
Public methodStatic memberSubtract(ModelNode, StandardMesh, Transform, Boolean, Boolean) Returns a ModelNode that is created by subtracting mesh from modelNode (space defined by mesh but not inside modelNode). The mesh that is defined by modelNode is transformed by optional parentTransform and by ModelNode.Transform.
Public methodStatic memberSubtract(SceneNode, StandardMesh, Transform, Boolean, Boolean) Returns a SceneNode that is created by subtracting mesh from all the specified SceneNode (can be GroupNode or node derived from ModelNode).
Public methodStatic memberUnion Returns a new StandardMesh that is created by merging mesh1 and mesh2 (space defined by either mesh1 or mesh2).
Top
See Also