Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_12
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshMaterialFunctions.h |
| Include | #include "GeometryScript/MeshMaterialFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshMaterialFunctions.cpp |
static UDynamicMesh &42; SetAllTriangleMaterialIDs
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptIndexList TriangleMaterialIDList,
bool bDeferChangeNotifications,
UGeometryScriptDebug &42; Debug
&41;
Remarks
Sets the Material ID of all triangles in a mesh to the values in an input Index List.
Parameters
| Name | Description |
|---|---|
| TriangleMateralIDList | the list of Material IDs, the length of this list should be the same as the Max Triangle ID for this mesh. |
| bDeferChangeNotifications | if true, the UDynamicMesh does not emit a change event/signal for this modification. |