Click or drag to resize
Ab4d.SharpEngine logo

BooleanMeshSubtract(BooleanMesh, Boolean) Method

Subtracts the specified booleanMesh from this BooleanMesh. The generated mesh can be obtained by calling the GetMesh method.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void Subtract(
	BooleanMesh booleanMesh,
	bool generateInnerTriangles = true
)

Parameters

booleanMesh  BooleanMesh
BooleanMesh
generateInnerTriangles  Boolean  (Optional)
when true (by default) then the triangles inside the first mesh are generated (this closes the hole that is created by subtraction); when false then no additional inner triangles are generated - only existing triangles are processed in subtraction
See Also