Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
Container for effects. Effects can be applied to either layers (on a per stage basis) or to slots.
| Name | UDMMaterialEffectStack |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialEffectStack.h |
| Include Path | #include "Components/DMMaterialEffectStack.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Effect Stack"))
class UDMMaterialEffectStack : public UDMMaterialComponent
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialEffectStack
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialEffectStack
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDMMaterialEffectStack() |
Components/DMMaterialEffectStack.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FEffectCallbackFunc | TFunctionRef< void(UDMMaterialEffect *)> | Components/DMMaterialEffectStack.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EffectsPathToken | const FString | Components/DMMaterialEffectStack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddEffect
(
UDMMaterialEffect* InEffect |
Components/DMMaterialEffectStack.h |
|
|
bool ApplyEffects
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Apply all matching effect types to the expressions and add them to the array. | Components/DMMaterialEffectStack.h | |
void ApplyPreset
(
const FDMMaterialEffectStackJson& InPreset |
Apply the given preset to this stack. Does not remove old effects. | Components/DMMaterialEffectStack.h |
|
TArray< UDMMaterialEffect * > BP_GetEffects() |
Components/DMMaterialEffectStack.h |
|
|
bool BP_MoveEffectByIndex
(
int32 InIndex, |
Components/DMMaterialEffectStack.h |
|
|
bool BP_MoveEffectByValue
(
UDMMaterialEffect* InEffect, |
Components/DMMaterialEffectStack.h |
|
|
UDMMaterialEffect * BP_RemoveEffectByIndex
(
int32 InIndex |
Components/DMMaterialEffectStack.h |
|
|
bool BP_RemoveEffectByValue
(
UDMMaterialEffect* InEffect |
Components/DMMaterialEffectStack.h |
|
|
FDMMaterialEffectStackJson CreatePreset() |
Creates a preset based on the current stage. | Components/DMMaterialEffectStack.h |
|
UDMMaterialEffect * GetEffect
(
int32 InIndex |
Components/DMMaterialEffectStack.h |
|
|
const TArray< TObjectPtr< UDMMaterialEffect > > & GetEffects() |
Components/DMMaterialEffectStack.h | ||
UDMMaterialLayerObject * GetLayer() |
Components/DMMaterialEffectStack.h |
|
|
UDMMaterialSlot * GetSlot() |
Components/DMMaterialEffectStack.h |
|
|
bool HasEffect
(
const UDMMaterialEffect* InEffect |
Components/DMMaterialEffectStack.h |
|
|
bool IsEnabled() |
Components/DMMaterialEffectStack.h |
|
|
bool MoveEffect
(
UDMMaterialEffect* InEffect, |
Components/DMMaterialEffectStack.h | ||
bool MoveEffect
(
int32 InIndex, |
Components/DMMaterialEffectStack.h | ||
UDMMaterialEffect * RemoveEffect
(
int32 InIndex |
Components/DMMaterialEffectStack.h | ||
bool RemoveEffect
(
UDMMaterialEffect* InEffect |
Components/DMMaterialEffectStack.h | ||
UDMMaterialEffect * SetEffect
(
int32 InIndex, |
Components/DMMaterialEffectStack.h |
|
|
bool SetEnabled
(
bool bInIsEnabled |
Components/DMMaterialEffectStack.h |
|
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetComponentDescription() |
Components/DMMaterialEffectStack.h | ||
virtual FString GetComponentPathComponent() |
Components/DMMaterialEffectStack.h | ||
virtual UDMMaterialComponent * GetParentComponent() |
Components/DMMaterialEffectStack.h | ||
virtual void PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Components/DMMaterialEffectStack.h | ||
virtual void Update
(
UDMMaterialComponent* InSource, |
Components/DMMaterialEffectStack.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Modify
(
bool bInAlwaysMarkDirty |
Components/DMMaterialEffectStack.h | ||
virtual void PostEditUndo() |
Components/DMMaterialEffectStack.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< UDMMaterialEffect * > GetIncompatibleEffects
(
UDMMaterialEffect* InEffect |
Components/DMMaterialEffectStack.h | ||
TArray< UDMMaterialEffect * > RemoveIncompatibleEffects
(
UDMMaterialEffect* InEffect |
Returns the removed effects. | Components/DMMaterialEffectStack.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UDMMaterialComponent * GetSubComponentByPath
(
FDMComponentPath& InPath, |
Components/DMMaterialEffectStack.h | ||
virtual void OnComponentAdded() |
Components/DMMaterialEffectStack.h | ||
virtual void OnComponentRemoved() |
Components/DMMaterialEffectStack.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDMMaterialEffectStack * CreateEffectStack
(
UDMMaterialLayerObject* InLayer |
Components/DMMaterialEffectStack.h | ||
static UDMMaterialEffectStack * CreateEffectStack
(
UDMMaterialSlot* InSlot |
Components/DMMaterialEffectStack.h | ||
static UDMMaterialEffectStack * CreateEffectStackForLayer
(
UDMMaterialLayerObject* InLayer |
Components/DMMaterialEffectStack.h |
|
|
static UDMMaterialEffectStack * CreateEffectStackForSlot
(
UDMMaterialSlot* InSlot |
Components/DMMaterialEffectStack.h |
|