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/DMMaterialEffectFunction.h |
| Include | #include "Components/DMMaterialEffectFunction.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Effect Function"))
class UDMMaterialEffectFunction : public UDMMaterialEffect
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UDMMaterialValue > > | InputValues | ||
| TObjectPtr< UMaterialFunctionInterface > | MaterialFunctionPtr |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyTo
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
||
| TArray< UDMMaterialValue * > | |||
| void | Removes inputs. | ||
| UDMMaterialValue * | GetInputValue
(
int32 InIndex |
Returns the value used as the function input. | |
| const TArray< TObjectPtr< UDMMaterialValue > > & | |||
| UMaterialFunctionInterface * | |||
| void | InitFunction () |
Adds required inputs. | |
| bool | Returns true if the input values do not match the function's input pins. | ||
| void | Re-inits the function. | ||
| bool | SetMaterialFunction
(
UMaterialFunctionInterface* InFunction |
Overridden from UDMMaterialEffect
| Type | Name | Description | |
|---|---|---|---|
| FText | |||
| FText | |||
| bool | IsCompatibleWith
(
UDMMaterialEffect* InEffect |
Test whether this effect is compatible with another effect. |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns a description of this class/object. | ||
| UDMMaterialComponent * | GetSubComponentByPath
(
FDMComponentPath& InPath, |
Searches the component for a specific component based on a path. | |
| bool | Modify
(
bool bInAlwaysMarkDirty |
||
| void | Called when a component enters the Added state. | ||
| void | Called when a component enters the Removed state. | ||
| void | PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Called to ensure that the object hierarchy is correct. | |
| void | PostLoad () |
Overridden from IDMJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| bool | JsonDeserialize
(
const TSharedPtr< FJsonValue >& InJsonValue |
||
| TSharedPtr< FJsonValue > |
Constants
| Name | Description |
|---|---|
| InputsPathToken |