|
EdgeLinesFactoryAddEdgeLines Method |
AddEdgeLines method collects the edge lines and adds their start and end positions to the linePositions collection from 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.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void AddEdgeLines(
SceneNode sceneNode,
float edgeStartAngleInDegrees,
List<Vector3> linePositions,
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.
- linePositions ListVector3
- List of Vector3 where edge line positions will be added to
- parentTransform Transform (Optional)
- optional Transform that is added to the sceneNode (null by default)
See Also