 |
LineUtilsGetWireframeLinePositions(SceneNode, Boolean, Transform, HashSetUInt64) Method |
Gets an array of Vector3 positions that define wireframe lines for the specified SceneNode (and its child SceneNodes in case a GroupNode is set as parameter).
When removedDuplicateLines is true, then only one line will be created for each edge between two triangles.
This requires additional processing but is faster to render because less wireframe lines are returned.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic static Vector3[] GetWireframeLinePositions(
SceneNode sceneNode,
bool removedDuplicateLines = false,
Transform? transform = null,
HashSet<ulong>? distinctLinesHashSet = null
)
Parameters
- sceneNode SceneNode
- SceneNode
- removedDuplicateLines Boolean (Optional)
- true to remove duplicate lines at the edges of triangles (false by default)
- transform Transform (Optional)
- optional transformation that is applied to all positions
- distinctLinesHashSet HashSetUInt64 (Optional)
- optional HashSet that is used when removing duplicate lines
Return Value
Vector3array of Vector3 positions that define wireframe lines for the specified mesh
Exceptions
See Also