Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
A node which take one or more inputs and produces an output (e.g. Multiply)
| Name | UDMMaterialStageThroughput |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialStageThroughput.h |
| Include Path | #include "Components/DMMaterialStageThroughput.h" |
Syntax
UCLASS (MinimalAPI, Abstract, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Stage Throughput"))
class UDMMaterialStageThroughput : public UDMMaterialStageSource
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput
Derived Classes
UDMMaterialStageThroughput derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/DMMaterialStageThroughput.h | |||
UDMMaterialStageThroughput
(
const FText& InName |
Components/DMMaterialStageThroughput.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Throughputs | TArray< TStrongObjectPtr< UClass > > | Components/DMMaterialStageThroughput.h |
Functions
Public
| 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/DMMaterialStageThroughput.h | |
bool AllowsNestedInputs() |
Returns true if this node's inputs can have their own inputs. | Components/DMMaterialStageThroughput.h |
|
virtual bool CanChangeInput
(
int32 InThroughputInputIndex |
Whether the value of the given input change. | Components/DMMaterialStageThroughput.h | |
virtual bool CanChangeInputType
(
int32 InThroughputInputIndex |
Whether you can change the type of the given input. | Components/DMMaterialStageThroughput.h | |
virtual bool CanInputAcceptType
(
int32 InThroughputInputIndex, |
Components/DMMaterialStageThroughput.h |
|
|
virtual bool CanInputConnectTo
(
int32 InThroughputInputIndex, |
Whether the given output connector can connect to this node. | Components/DMMaterialStageThroughput.h |
|
virtual void ConnectOutputToInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Connect the output of a node to the given input of this node. | Components/DMMaterialStageThroughput.h | |
const FText & GetDescription() |
Components/DMMaterialStageThroughput.h |
|
|
virtual UMaterialExpression * GetExpressionForInput
(
const TArray< UMaterialExpression* >& InStageSourceExpressions, |
Override this to redirect inputs to other nodes. | Components/DMMaterialStageThroughput.h | |
const TArray< FDMMaterialStageConnector > & GetInputConnectors() |
Components/DMMaterialStageThroughput.h |
|
|
virtual FDMExpressionInput GetLayerMaskLinkTextureUVInputExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Returns all the material nodes requires to create this node's Texture UV input. | Components/DMMaterialStageThroughput.h | |
virtual int32 GetLayerMaskTextureUVLinkInputIndex() |
Returns the input index for the default implementation of the below method. | Components/DMMaterialStageThroughput.h | |
bool IsInputRequired() |
Returns true if input is required to successfully compile this node. | Components/DMMaterialStageThroughput.h |
|
virtual bool IsInputVisible
(
int32 InThroughputInputIndex |
Whether this input will show up in the Material Designer editor. | Components/DMMaterialStageThroughput.h | |
virtual void OnInputUpdated
(
int32 InThroughputInputIndex, |
This is called when the input value of this node's stage is updated. | Components/DMMaterialStageThroughput.h | |
virtual void OnPostInputAdded
(
int32 InInputIdx |
Components/DMMaterialStageThroughput.h | ||
virtual int32 ResolveInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Generates (or retrieves) expressions that produce this input for the node. | Components/DMMaterialStageThroughput.h | |
virtual int32 ResolveLayerMaskTextureUVLinkInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
If this is on a Mask stage and it is the UV input index, this method is used to retrieve the base stage's UV input. | Components/DMMaterialStageThroughput.h | |
virtual bool SupportsLayerMaskTextureUVLink() |
Returns true if the layer and mask can have their Texture UV linked. | Components/DMMaterialStageThroughput.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetComponentDescription() |
Components/DMMaterialStageThroughput.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConnectOutputToInput_Internal
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
@See ConnectOutputToInput | Components/DMMaterialStageThroughput.h | |
virtual void GeneratePreviewMaterial
(
UMaterial* InPreviewMaterial |
Generates a material based on the output of just this node. | Components/DMMaterialStageThroughput.h | |
virtual int32 ResolveInputChannel
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Finds the input for the individual channel. | Components/DMMaterialStageThroughput.h | |
virtual bool ShouldKeepInput
(
int32 InThroughputInputIndex |
When the stage's source is changed, whether the given of input from the previous source should be kept. | Components/DMMaterialStageThroughput.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnComponentAdded() |
Components/DMMaterialStageThroughput.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GenerateThroughputList() |
Components/DMMaterialStageThroughput.h | ||
static const TArray< TStrongObjectPtr< UClass > > & GetAvailableThroughputs() |
Components/DMMaterialStageThroughput.h | ||
static int32 ResolveLayerMaskTextureUVLinkInputImpl
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
@See ResolveLayerMaskTextureUVLinkInput | Components/DMMaterialStageThroughput.h |