|
LineUtilsCreateEdgeLinesForEachSceneNode(SceneNode, Single, LineMaterial, GroupNode, Transform) Method |
CreateEdgeLinesForEachSceneNode creates one MultiLineNode with edge lines for each ModelNode in the specified sceneNode and its children.
The edge lines are created if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees.
To set advanced settings on how edge lines are created, use the
EdgeLinesFactory class (this class is also internally used by this method).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static void CreateEdgeLinesForEachSceneNode(
SceneNode sceneNode,
float edgeStartAngleInDegrees,
LineMaterial lineMaterial,
GroupNode linesRootNode,
Transform? parentTransform = null
)
Parameters
- sceneNode SceneNode
- SceneNode
- edgeStartAngleInDegrees Single
- if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
- lineMaterial LineMaterial
- LineMaterial
- linesRootNode GroupNode
- GroupNode where the created MultiLineNode objects will be added to
- parentTransform Transform (Optional)
- Transform that is added to the model3D (null by default)
See Also