Click or drag to resize
Ab4d.SharpEngine logo

MeshUtilsCreateSmoothShadedMesh(StandardMesh, String) Method

CreateSmoothShadedMesh converts the specified mesh to a smooth shaded mesh (without any hard edges). In this case all positions that occupy the same 3D space are combined and this makes the mesh look smooth.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9196+3eba290aba85a9aa739abf2459bc51e303a050d7
Syntax
C#
public static StandardMesh CreateSmoothShadedMesh(
	StandardMesh mesh,
	string? newMeshName = null
)

Parameters

mesh  StandardMesh
original StandardMesh
newMeshName  String  (Optional)
optional name of the new mesh

Return Value

StandardMesh
New smooth shaded mesh (as StandardMesh)
See Also