Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp > API/Plugins/MeshModelingToolsExp/Sculpting > API/Plugins/MeshModelingToolsExp/Sculpting/UE__SculptUtil__-_1
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/Sculpting/MeshSculptUtil.h |
| Include | #include "Sculpting/MeshSculptUtil.h" |
| Source | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Private/Sculpting/MeshSculptUtil.cpp |
namespace UE
{
namespace SculptUtil
{
void UE&58;&58;SculptUtil&58;&58;RecalculateNormals_PerVertex
&40;
FDynamicMesh3 &42; Mesh,
const TSet< int32 > & ModifiedTris,
TSet< int32 > & VertexSetBuffer,
TArray< int32 > & NormalsBuffer
&41;
}
}
Remarks
Recompute mesh vertex normals for the vertices belonging to all the ModifiedTris. VertexSetBuffer and NormalsBuffer will be populated with all the vertex IDs (you provide to allow for re-use of allocated memory)