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