Navigation
BlueprintAPI > BlueprintAPI/GeometryScript > BlueprintAPI/GeometryScript/Materials
Returns an Index List of all triangle Material IDs, constructed with one entry for each consecutive Triangle ID. If Material IDs are not enabled on the mesh, bHasMaterialsIDs will be set to false on return and nothing will be added to the Material ID List. @warning if the mesh is not Triangle-Compact (eg GetHasTriangleIDGaps == false) then the returned list will also have the same gaps where the number -1 will be recorded for any missing Triangle IDs.
Target is Geometry Script Library Mesh Material Functions
Inputs
| Type | Name | Description |
|---|---|---|
| object | Target Mesh |
Outputs
| Type | Name | Description |
|---|---|---|
| struct | Material IDList | |
| boolean | Has Material IDs | |
| object | Target Mesh |