Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Material
Inheritance Hierarchy
- UMaterialInstanceDynamic
- UDynamicMaterialInstance
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Material/DynamicMaterialInstance.h |
| Include | #include "Material/DynamicMaterialInstance.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup="Material Designer", DefaultToInstanced, BlueprintType,
Meta=(DisplayThumbnail="true"))
class UDynamicMaterialInstance : public UMaterialInstanceDynamic
Remarks
A Material Designer Material with its own integrated Material Designer Model that generates the base Material.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UDynamicMaterialModelBase > | MaterialModelBase |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetAssetRegistryTagMetadata
(
TMap< FName, FAssetRegistryTagMetadata >& OutMetadata |
||
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
||
| UDynamicMaterialModel * | Resolves the base Material Model used with this Instance and returns it. | ||
| UDynamicMaterialModelBase * | Returns the Material Model associated with this Material Designer Material. | ||
| FString | GetMaterialTypeTag
(
const FAssetData& InAssetData |
||
| void | Initialises the base MID object with the current Material Model's generated material. | ||
| void | OnMaterialBuilt
(
UDynamicMaterialModelBase* InMaterialModel |
Event called when the base material is build. | |
| void | PostDuplicate
(
bool bInDuplicateForPIE |
||
| void | |||
| void | SetMaterialModel
(
UDynamicMaterialModelBase* InMaterialModel |
Sets the Material Model used for this Instance. |
Constants
| Name | Description |
|---|---|
| ModelTypeTag_Instance | |
| ModelTypeTag_Material |