Navigation
BlueprintAPI > BlueprintAPI/GeometryScript > BlueprintAPI/GeometryScript/Materials
Set a new MaterialID on all the triangles of TargetMesh with the given PolyGroup.
Target is Geometry Script Library Mesh Material Functions
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target Mesh | |
| struct | Group Layer | PolyGroup Layer to use as basis for PolyGroups |
| integer | Poly Group ID | PolyGroup ID that specifies Triangles to set to new MaterialID |
| integer | Material ID | explicit new MaterialID to set |
| boolean | Defer Change Notifications | if true, the UDynamicMesh does not emit a change event/signal for this modification |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| boolean | Is Valid Poly Group ID | |
| object | Target Mesh |