Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor > API/Plugins/DynamicMaterialEditor/UDMMaterialStageInputGradient
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDMMaterialStageInputGradient * ChangeStageInput_Gradient
(
UDMMaterialStage* InStage, |
Components/MaterialStageInputs/DMMSIGradient.h | ||
static UDMMaterialStageInputGradient * ChangeStageInput_Gradient
(
UDMMaterialStage* InStage, |
Change the input type of an input on a stage to a gradient. | Components/MaterialStageInputs/DMMSIGradient.h |
|
ChangeStageInput_Gradient(UDMMaterialStage *, int32, int32, int32)
| Name | ChangeStageInput_Gradient |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/MaterialStageInputs/DMMSIGradient.h |
| Include Path | #include "Components/MaterialStageInputs/DMMSIGradient.h" |
template<typename InGradientClass>
static UDMMaterialStageInputGradient * ChangeStageInput_Gradient
(
UDMMaterialStage * InStage,
int32 InInputIdx,
int32 InInputChannel,
int32 InOutputChannel
)
ChangeStageInput_Gradient(UDMMaterialStage *, TSubclassOf< UDMMaterialStageGradient >, int32, int32, int32)
Description
Change the input type of an input on a stage to a gradient.
| Name | ChangeStageInput_Gradient |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/MaterialStageInputs/DMMSIGradient.h |
| Include Path | #include "Components/MaterialStageInputs/DMMSIGradient.h" |
| Source | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Private/Components/MaterialStageInputs/DMMSIGradient.cpp |
UFUNCTION (BlueprintCallable, Category="Material Designer")
static UDMMaterialStageInputGradient * ChangeStageInput_Gradient
(
UDMMaterialStage * InStage,
TSubclassOf < UDMMaterialStageGradient > InGradientClass,
int32 InInputIdx,
int32 InInputChannel,
int32 InOutputChannel
)
Parameters
| Name | Remarks |
|---|---|
| InInputIdx | Index of the source input. |
| InInputChannel | The channel of the input that the input connects to. |
| InOutputChannel | The channel of the output to connect. |