Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp > API/Plugins/MeshModelingToolsExp/Sculpting > API/Plugins/MeshModelingToolsExp/Sculpting/UE__SculptUtil__PrecalculateNorm-
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;PrecalculateNormalsROI
&40;
const FDynamicMesh3 &42; Mesh,
const TArray< int32 > & TriangleROI,
TArray< std::atomic< bool >> & ROIFlags,
bool & bIsOverlayElementsOut,
bool bForceVertex
&41;
}
}
Remarks
Precalculate ROIFlags for the modified TriangleROI, the indices will either be overlay normal element IDs, or vertex IDs. ROIFlags will be resized to either the max overlay element ID, or the max vertex ID, and indices in the ROI will be set to true
Parameters
| Name | Description |
|---|---|
| bIsOverlayElementsOut | will be returned as true for overlay normals, false for vertex normals |