 |
LineUtilsGetNormalLinePositions(Mesh, Single, Transform) Method |
Gets an array of Vector3 positions that define normal vector lines for the specified mesh.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic static Vector3[]? GetNormalLinePositions(
Mesh mesh,
float normalsLength = 0f,
Transform? transform = null
)
Parameters
- mesh Mesh
- mesh
- normalsLength Single (Optional)
- length of each normal line. When zero (by default), then normalLength is 5% length of mesh's diagonal from bounding box)
- transform Transform (Optional)
- optional transformation that is applied to all positions
Return Value
Vector3array of Vector3 positions that define normal vector lines for the specified mesh
Exceptions
See Also