 |
ModelUtilsSliceSceneNode(Plane, SceneNode) Method |
Slices the specified SceneNode with the specified Plane and returns two new SceneNode objects:
one SceneNode that is in front of the plane (in the direction of plane's Normal vector) and one SceneNode that is in the back of the plane.
If the specified SceneNode is fully in front (or in back) of the Plane, then the same instance of SceneNode is returned (the other returned SceneNode is null).
If the specified SceneNode intersects the Plane, it is sliced and new SceneNode objects are created from it.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static (SceneNode frontSceneNodes, SceneNode? backSceneNodes) SliceSceneNode(
Plane plane,
SceneNode sceneNode
)
Parameters
- plane Plane
- Plane
- sceneNode SceneNode
- SceneNode to slice
Return Value
ValueTupleSceneNode,
SceneNode(frontSceneNodes, backSceneNodes) - two SceneNode as a Tuple
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ModelUtils.SliceSceneNode(System.Numerics.Plane,Ab4d.SharpEngine.SceneNodes.SceneNode)"]
See Also