Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_14
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshNormalsFunctions.h |
| Include | #include "GeometryScript/MeshNormalsFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshNormalsFunctions.cpp |
static UDynamicMesh &42; SetMeshTriangleNormals
&40;
UDynamicMesh &42; TargetMesh,
int TriangleID,
FGeometryScriptTriangle Normals,
bool & bIsValidTriangle,
bool bDeferChangeNotifications
&41;
Remarks
Set the triangle-vertex normals for the given TriangleID on the TargetMesh. This will create unique triangle-vertex normals, ie it will create hard edges / split normals in the normal overlay for each edge of the triangle.
Parameters
| Name | Description |
|---|---|
| bIsValidTriangle | will be returned as false if TriangleID does not refer to a valid triangle |
| bDeferChangeNotifications | if true, no mesh change notification will be sent. Set to true if changing many normals in a loop. |