Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
References
| Module | DynamicMaterialEditor |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterialEditor/Public/DMObjectMaterialProperty.h |
| Include | #include "DMObjectMaterialProperty.h" |
Syntax
USTRUCT (BlueprintType )
struct FDMObjectMaterialProperty
Remarks
Defines a material property slot that can be a Material Designer Instance.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | Index | Component or array property index. | |
| TWeakObjectPtr< UObject > | OuterWeak | ||
| FProperty * | Property | C++ version of property | |
| FName | PropertyName | Blueprint version of property |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDMObjectMaterialProperty
(
UPrimitiveComponent* InOuter, |
UPrimitiveComponent Material Index. | ||
FDMObjectMaterialProperty
(
UObject* InOuter, |
Class Property (including potential array index) |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMaterialInstance * | GetMaterial () |
||
| UDynamicMaterialModel * | |||
| FText | GetPropertyName
(
bool bInIgnoreNewStatus |
||
| bool | IsValid () |
||
| void | Reset () |
||
| void | SetMaterial
(
UDynamicMaterialInstance* DynamicMaterial |