Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor > API/Plugins/DynamicMaterialEditor/Components
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialEffect
- UDMMaterialEffectFunction
References
| Module | DynamicMaterialEditor |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialEffect.h |
| Include | #include "Components/DMMaterialEffect.h" |
Syntax
UCLASS (MinimalAPI, Abstract, BlueprintType, Blueprintable, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Effect"))
class UDMMaterialEffect :
public UDMMaterialComponent ,
public IDMJsonSerializable
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnabled | ||
| EDMMaterialEffectTarget | EffectTarget | ||
| void virtual ApplyTo(const TSharedRef< FDMMaterialBuildState > &InBuildState, TArray< UMaterialExpre... | GetComponentPathComponent | Apply this effect to the output of something, such as a stage, slot or texture. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| InEffectClass * | CreateEffect
(
UDMMaterialEffectStack* InEffectStack |
||
| UDMMaterialEffect * | CreateEffect
(
UDMMaterialEffectStack* InEffectStack, |
||
| int32 | FindIndex () |
Retrieves the index of this effect in the effect stack. | |
| FText | |||
| FText | |||
| UDMMaterialEffectStack * | |||
| EDMMaterialEffectTarget | Returns the type of nodes which this effect targets. | ||
| bool | IsCompatibleWith
(
UDMMaterialEffect* InEffect |
Test whether this effect is compatible with another effect. | |
| bool | IsEnabled () |
||
| void | PostEditUndo () |
||
| bool | SetEnabled
(
bool bInIsEnabled |
||
| EDMMaterialEffectTarget | StageTypeToEffectType
(
EDMMaterialLayerStage InStageType |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns a description of this class/object. | ||
| void | PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Called to ensure that the object hierarchy is correct. | |
| void | Update
(
UDMMaterialComponent* InSource, |
Event that is triggered when this component, or a sub-component, changes to trigger other updates in the model. |