 |
BooleanMeshSubtract(StandardMesh, Transform, Boolean) Method |
Subtracts the specified StandardMesh from this BooleanMesh.
The generated mesh can be obtained by calling the
GetMesh method.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void Subtract(
StandardMesh mesh,
Transform? meshTransform = null,
bool generateInnerTriangles = true
)
Parameters
- mesh StandardMesh
- StandardMesh
- meshTransform Transform (Optional)
- optional transformation that will transform the StandardMesh
- 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