Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_27
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshVertexColorFunctions.h |
| Include | #include "GeometryScript/MeshVertexColorFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshVertexColorFunctions.cpp |
static UDynamicMesh &42; BlurMeshVertexColors
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptMeshSelection Selection,
int NumIterations,
double Strength,
EGeometryScriptBlurColorMode BlurMode,
FGeometryScriptBlurMeshVertexColorsOptions Options,
UGeometryScriptDebug &42; Debug
&41;
Remarks
Blur the color attribute of the mesh. If the mesh has no color attribute, the function returns the mesh unchanged.
Parameters
| Name | Description |
|---|---|
| TargetMesh | The mesh containing the color attribute. |
| Selection | Only vertices in the selection will have their color attribute blurred. |
| NumIterations | The number of blur iterations. |
| Strength | Each iteration, we will blur between the vertex of the color at the previous iteration and its neighbors' average by Strength amount (expected to be in the zero to one range). |
| BlurMode | Determines how neighbors are weighted when computing their average. |