Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
Represents a material function which can be added directly to a stage.
| Name | UDMMaterialStageFunction |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialStageFunction.h |
| Include Path | #include "Components/DMMaterialStageFunction.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer")
class UDMMaterialStageFunction : public UDMMaterialStageThroughput
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageFunction
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageFunction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDMMaterialStageFunction() |
Components/DMMaterialStageFunction.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InputPreviousStage | int32 | Components/DMMaterialStageFunction.h | |
| NoOp | TSoftObjectPtr< UMaterialFunctionInterface > | Components/DMMaterialStageFunction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GenerateExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Components/DMMaterialStageFunction.h | ||
UDMMaterialValue * GetInputValue
(
int32 InIndex |
Components/DMMaterialStageFunction.h |
|
|
TArray< UDMMaterialValue * > GetInputValues() |
Components/DMMaterialStageFunction.h |
|
|
UMaterialFunctionInterface * GetMaterialFunction() |
Components/DMMaterialStageFunction.h |
|
|
void SetMaterialFunction
(
UMaterialFunctionInterface* InMaterialFunction |
Components/DMMaterialStageFunction.h |
|
Overridden from UDMMaterialStageThroughput
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddDefaultInput
(
int32 InInputIndex |
When the node is instantiated, this method adds default input values based on type. | Components/DMMaterialStageFunction.h | |
virtual bool CanChangeInput
(
int32 InThroughputInputIndex |
Whether the value of the given input change. | Components/DMMaterialStageFunction.h | |
virtual bool CanChangeInputType
(
int32 InThroughputInputIndex |
Whether you can change the type of the given input. | Components/DMMaterialStageFunction.h | |
virtual bool IsInputVisible
(
int32 InThroughputInputIndex |
Whether this input will show up in the Material Designer editor. | Components/DMMaterialStageFunction.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetComponentDescription() |
Components/DMMaterialStageFunction.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Components/DMMaterialStageFunction.h | ||
virtual void PostLoad() |
Components/DMMaterialStageFunction.h | ||
virtual void PreEditChange
(
FEditPropertyChain& PropertyAboutToChange |
Components/DMMaterialStageFunction.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DeinitFunction() |
Components/DMMaterialStageFunction.h | ||
void InitFunction() |
Components/DMMaterialStageFunction.h | ||
bool NeedsFunctionInit() |
Components/DMMaterialStageFunction.h | ||
void OnMaterialFunctionChanged() |
Components/DMMaterialStageFunction.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnComponentAdded() |
Components/DMMaterialStageFunction.h | ||
virtual void OnComponentRemoved() |
Components/DMMaterialStageFunction.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDMMaterialStageFunction * ChangeStageSource_Function
(
UDMMaterialStage* InStage, |
Components/DMMaterialStageFunction.h |
|
|
static UDMMaterialStage * CreateStage
(
UDMMaterialLayerObject* InLayer |
Components/DMMaterialStageFunction.h | ||
static UMaterialFunctionInterface * GetNoOpFunction() |
Components/DMMaterialStageFunction.h |