|
LineUtilsCreateEdgeLinesForEachSceneNode(SceneNode, Single, Single, Color4, 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,
float lineThickness,
Color4 lineColor,
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.
- lineThickness Single
- line thickness
- lineColor Color4
- line color
- 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