Click or drag to resize
AB4D logo

MeshUtilsCalculateNormals Method (MeshGeometry3D, Boolean)

Calculates normals for the meshGeometry.

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.2.8348.1045
Syntax
C#
public static Vector3DCollection CalculateNormals(
	MeshGeometry3D meshGeometry,
	bool normalize
)

Parameters

meshGeometry
Type: System.Windows.Media.Media3DMeshGeometry3D
MeshGeometry3D that is used to calculate normals
normalize
Type: SystemBoolean
if true the calculated normals are normalized

Return Value

Type: Vector3DCollection
normals as Vector3DCollection
See Also