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; SetMeshConstantVertexColor
&40;
UDynamicMesh &42; TargetMesh,
FLinearColor Color,
FGeometryScriptColorFlags Flags,
bool bClearExisting,
UGeometryScriptDebug &42; Debug
&41;
Remarks
Set all vertex colors (optionally specific channels) in the TargetMesh VertexColor Overlay to a constant value
Parameters
| Name | Description |
|---|---|
| Color | the constant color to set |
| Flags | specify which RGBA channels to set (default all channels) |