 |
SlicerSliceSceneNode(SceneNode, Transform) Method |
Slices the specified SceneNode with the specified Plane and returns a SceneNode that is in front of the plane
(in the direction of plane's Normal vector).
If the specified SceneNode is fully in front of the plane, then the same instance of SceneNode is returned.
If the specified SceneNode is fully in back of the plane, then null is returned.
If the specified SceneNode intersects the Plane, it is sliced and new front SceneNode object is returned.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic SceneNode? SliceSceneNode(
SceneNode sceneNode,
Transform? parentTransform = null
)
Parameters
- sceneNode SceneNode
- SceneNode to slice (can be a GroupNode or ModelNode)
- parentTransform Transform (Optional)
- optional parent transform
Return Value
SceneNode
See Also