Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialComponentDynamic
- UDMMaterialValueDynamic
- UDMMaterialValueBoolDynamic
- UDMMaterialValueColorAtlasDynamic
- UDMMaterialValueFloat1Dynamic
- UDMMaterialValueFloat2Dynamic
- UDMMaterialValueFloat3RGBDynamic
- UDMMaterialValueFloat3RPYDynamic
- UDMMaterialValueFloat3XYZDynamic
- UDMMaterialValueFloat4Dynamic
- UDMMaterialValueRenderTargetDynamic
- UDMMaterialValueTextureDynamic
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/DMMaterialValueDynamic.h |
| Include | #include "Components/DMMaterialValueDynamic.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Abstract, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Value Instance"))
class UDMMaterialValueDynamic :
public UDMMaterialComponentDynamic ,
public IDMJsonSerializable
Remarks
A value used inside an instanced material instance. Links to the original value in the parent material.
Variables
| Type | Name | Description | |
|---|---|---|---|
| void virtual SetMIDParameter(UMaterialInstanceDynamic *InMID) const PURE_VIRTUAL(UDMMaterialValu... | JsonSerialize | Non-editor implementation. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | CanResetToDefault
(
TSharedPtr< IPropertyHandle > InPropertyHandle |
||
| InValueClass * | CreateValueDynamic
(
UDynamicMaterialModelDynamic* InMaterialModelDynamic, |
||
| UDMMaterialValueDynamic * | CreateValueDynamic
(
TSubclassOf< UDMMaterialValueDynamic > InInstanceValueClass, |
Creates a value dynamic and initializes it with the given Material Designer Model Dyanmic. | |
| UDMMaterialValue * | Resolves (if necessary) and returns the value this dynamic value is based on. | ||
| bool | Returns true if this value dynamic's value is the same as the parent value's value. | ||
| void | Call when this value dynamic changes and calls Update. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
||
| void | PostEditUndo () |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| void | Called when a component enters the Added state. |
Overridden from IDMJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| bool | JsonDeserialize
(
const TSharedPtr< FJsonValue >& InJsonValue |