Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshOpPreviewWithBackgroundComp-
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 ConfigurePreviewMaterials
&40;
UMaterialInterface &42; InProgressMaterial,
UMaterialInterface &42; SecondaryMaterial
&41;
Remarks
Configure the In-Progress and Secondary Materials
Parameters
| Name | Description |
|---|---|
| InProgressMaterial | material displayed if the background compute takes longer than WorkingMaterialDelay |
| SecondaryMaterial | optional secondary material passed to mesh component, call PreviewMesh->EnableSecondaryTriangleBuffers to enable |