Navigation
API > API/Plugins > API/Plugins/InterchangeImport
This class intends to avoid a race condition when importing several material functions at once, for example when importing the MaterialX file standard_surface_chess_set Only one instance of a material function can update it
| Name | FInterchangeImportMaterialAsyncHelper |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Material/InterchangeMaterialFactory.h |
| Include Path | #include "Material/InterchangeMaterialFactory.h" |
Syntax
class FInterchangeImportMaterialAsyncHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Material/InterchangeMaterialFactory.h | |||
| Material/InterchangeMaterialFactory.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| UpdatedMaterialFunctionCallsLock | FCriticalSection | Material/InterchangeMaterialFactory.h | ||
| UpdatedMaterialFunctionsLock | FCriticalSection | Material/InterchangeMaterialFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateFromFunctionResource
(
UMaterialExpressionMaterialFunctionCall* MaterialFunctionCall |
Material/InterchangeMaterialFactory.h | ||
void UpdateFromFunctionResource
(
UMaterialFunctionInterface* MaterialFunction |
Material/InterchangeMaterialFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FInterchangeImportMaterialAsyncHelper & GetInstance() |
Material/InterchangeMaterialFactory.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInterchangeImportMaterialAsyncHelper & operator=
(
const FInterchangeImportMaterialAsyncHelper& |
Material/InterchangeMaterialFactory.h |