Click or drag to resize
Ab4d.SharpEngine logo

SlicerSliceModelNode(ModelNode, Transform) Method

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

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public MeshModelNode? SliceModelNode(
	ModelNode modelNode,
	Transform? parentTransform = null
)

Parameters

modelNode  ModelNode
ModelNode to slice
parentTransform  Transform  (Optional)
optional parent transform

Return Value

MeshModelNode
See Also