Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshOpPreviewWithBackgroundComp- > API/Plugins/ModelingComponents/UMeshOpPreviewWithBackgroundComp-/ConfigureMateria-
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/MeshOpPreviewHelpers.h |
| Include | #include "MeshOpPreviewHelpers.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/MeshOpPreviewHelpers.cpp |
void ConfigureMaterials
&40;
TArray< UMaterialInterface &42; > StandardMaterials,
UMaterialInterface &42; InProgressMaterial,
UMaterialInterface &42; SecondaryMaterial
&41;
Remarks
Configure the Standard and In-Progress materials
Parameters
| Name | Description |
|---|---|
| StandardMaterials | list of materials corresponding to MaterialIDs on the Mesh |
| InProgressMaterial | material displayed if the background compute takes longer than WorkingMaterialDelay |
| SecondaryMaterial | optional secondary material passed to mesh component, call PreviewMesh->EnableSecondaryTriangleBuffers to enable |