Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
A node which represents UV-based gradient.
| Name | UDMMaterialStageGradient |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialStageGradient.h |
| Include Path | #include "Components/DMMaterialStageGradient.h" |
Syntax
UCLASS (MinimalAPI, Abstract, BlueprintType, Blueprintable, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Stage Gradient"))
class UDMMaterialStageGradient : public UDMMaterialStageThroughput
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageGradient
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageGradient
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/DMMaterialStageGradient.h | |||
UDMMaterialStageGradient
(
const FText& InName |
Components/DMMaterialStageGradient.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Gradients | TArray< TStrongObjectPtr< UClass > > | Components/DMMaterialStageGradient.h | |
| InputEnd | int32 | Components/DMMaterialStageGradient.h | |
| InputStart | int32 | Components/DMMaterialStageGradient.h | |
| InputUV | int32 | Components/DMMaterialStageGradient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GenerateExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Components/DMMaterialStageGradient.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/DMMaterialStageGradient.h | |
virtual bool CanChangeInputType
(
int32 InThroughputInputIndex |
Whether you can change the type of the given input. | Components/DMMaterialStageGradient.h | |
virtual int32 GetLayerMaskTextureUVLinkInputIndex() |
Returns the input index for the default implementation of the below method. | Components/DMMaterialStageGradient.h | |
virtual bool SupportsLayerMaskTextureUVLink() |
Returns true if the layer and mask can have their Texture UV linked. | Components/DMMaterialStageGradient.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SetMaterialFunction
(
UMaterialFunctionInterface* InMaterialFunction |
Always set the function. Returns whether an update was called. | Components/DMMaterialStageGradient.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDMMaterialStageGradient * ChangeStageSource_Gradient
(
UDMMaterialStage* InStage |
Components/DMMaterialStageGradient.h | ||
static UDMMaterialStageGradient * ChangeStageSource_Gradient
(
UDMMaterialStage* InStage, |
Components/DMMaterialStageGradient.h |
|
|
static UDMMaterialStage * CreateStage
(
TSubclassOf< UDMMaterialStageGradient > InMaterialStageGradientClass, |
Components/DMMaterialStageGradient.h |
|
|
static void GenerateGradientList() |
Components/DMMaterialStageGradient.h | ||
static const TArray< TStrongObjectPtr< UClass > > & GetAvailableGradients() |
Components/DMMaterialStageGradient.h |