Click or drag to resize
Ab4d.SharpEngine logo

SlicerSliceMesh(StandardMesh, Transform) Method

Slices the specified StandardMesh with the specified Plane and returns a StandardMesh that is in front of the plane (in the direction of plane's Normal vector). If the specified StandardMesh is fully in front of the plane, then the same instance of StandardMesh is returned. If the specified StandardMesh is fully in back of the plane, then null is returned. If the specified StandardMesh intersects the Plane, it is sliced and new front StandardMesh object is returned.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public StandardMesh? SliceMesh(
	StandardMesh? standardMesh,
	Transform? transform = null
)

Parameters

standardMesh  StandardMesh
StandardMesh to slice
transform  Transform  (Optional)
optional parent transform

Return Value

StandardMesh
See Also