Click or drag to resize
Ab4d.SharpEngine logo

EdgeLinesFactoryCreateEdgeLines Method

CreateEdgeLines method returns a List with edge line position (each edge line is defined by its start and end position). The edge lines are generated for 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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public List<Vector3> CreateEdgeLines(
	SceneNode sceneNode,
	float edgeStartAngleInDegrees,
	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.
parentTransform  Transform  (Optional)
optional Transform that is added to the sceneNode (null by default)

Return Value

ListVector3
See Also