Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshOpPreviewWithBackgroundComp-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConfigureMaterials
(
UMaterialInterface* StandardMaterial, |
Optional configuration Configure the Standard and In-Progress materials | MeshOpPreviewHelpers.h | |
void ConfigureMaterials
(
TArray< UMaterialInterface* > StandardMaterials, |
Configure the Standard and In-Progress materials | MeshOpPreviewHelpers.h |
ConfigureMaterials(UMaterialInterface , UMaterialInterface )
Description
Optional configuration Configure the Standard and In-Progress materials
| Name | ConfigureMaterials |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/MeshOpPreviewHelpers.h |
| Include Path | #include "MeshOpPreviewHelpers.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/MeshOpPreviewHelpers.cpp |
void ConfigureMaterials
(
UMaterialInterface * StandardMaterial,
UMaterialInterface * InProgressMaterial
)
ConfigureMaterials(TArray< UMaterialInterface >, UMaterialInterface , UMaterialInterface *)
Description
Configure the Standard and In-Progress materials
| Name | ConfigureMaterials |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/MeshOpPreviewHelpers.h |
| Include Path | #include "MeshOpPreviewHelpers.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/MeshOpPreviewHelpers.cpp |
void ConfigureMaterials
(
TArray < UMaterialInterface * > StandardMaterials,
UMaterialInterface * InProgressMaterial,
UMaterialInterface * SecondaryMaterial
)
Parameters
| Name | Remarks |
|---|---|
| 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 |