|
MeshUtilsCalculateNormals(Vector3, Boolean) Method |
CalculateNormals method calculates normals for the specified positions and without triangle indices (the triangles are defined by 3 consecutive positions).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static Vector3[] CalculateNormals(
Vector3[] positions,
bool normalize = true
)
Parameters
- positions Vector3
- array of Vector3 that represents positions
- normalize Boolean (Optional)
- when true (by default), then the normals are normalized
Return Value
Vector3[Missing <returns> documentation for "M:Ab4d.SharpEngine.Utilities.MeshUtils.CalculateNormals(System.Numerics.Vector3[],System.Boolean)"]
See Also