 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic 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)
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.EdgeLinesFactory.AddEdgeLines(Ab4d.SharpEngine.SceneNodes.SceneNode,System.Single,System.Collections.Generic.List{System.Numerics.Vector3},Ab4d.SharpEngine.Transformations.Transform)"]
See Also