Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include | #include "ModelingObjectsCreationAPI.h" |
Syntax
USTRUCT (Blueprintable)
struct FCreateMaterialObjectParams
Remarks
FCreateMaterialObjectParams is a collection of input data intended to be passed to UModelingObjectsCreationAPI::CreateMaterialObject().
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | BaseName | The base name of the new Material object | |
| TObjectPtr< UMaterialInterface > | MaterialToDuplicate | Input data The parent UMaterial of this material will be duplicated to create the new UMaterial Asset. | |
| TObjectPtr< UObject > | StoreRelativeToObject | An object to store the Material relative to. | |
| TObjectPtr< UWorld > | TargetWorld | Base data The World/Level the new Material object should be created in (if known). |