Loading...
Searching...
No Matches
realvirtual.CADMeshTools Class Reference
Static Public Member Functions | |
static void | DistinctVertices (ref Mesh myMesh) |
static void | ScaleMesh (ref Mesh myMesh, float scale) |
static void | CalculateUVS (ref Mesh myMesh, float UVScaleFactor) |
static void | RecalculateNormals (this Mesh mesh, float angle) |
Recalculate the normals of a mesh based on an angle threshold. | |
Member Function Documentation
◆ RecalculateNormals()
|
static |
Recalculate the normals of a mesh based on an angle threshold.
This takes into account distinct vertices that have the same position.
- Parameters
-
mesh angle The smoothing angle. Note that triangles that already share the same vertex will be smooth regardless of the angle!