Click or drag to resize
Ab4d.SharpEngine logo

LineUtilsGetNormalLinePositions(Mesh, Single, Transform) Method

Gets an array of Vector3 positions that define normal vector lines for the specified mesh.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public 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

Vector3
array of Vector3 positions that define normal vector lines for the specified mesh
Exceptions
ExceptionCondition
ArgumentNullExceptionwhen mesh is null
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.LineUtils.GetNormalLinePositions(Ab4d.SharpEngine.Meshes.Mesh,System.Single,Ab4d.SharpEngine.Transformations.Transform)"]

See Also