Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
A node which represents a blend operation.
| Name | UDMMaterialStageBlend |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialStageBlend.h |
| Include Path | #include "Components/DMMaterialStageBlend.h" |
Syntax
UCLASS (MinimalAPI, Abstract, BlueprintType, Blueprintable, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Stage Blend"))
class UDMMaterialStageBlend : public UDMMaterialStageThroughput
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageBlend
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageBlend
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/DMMaterialStageBlend.h | |||
UDMMaterialStageBlend
(
const FText& InName, |
Components/DMMaterialStageBlend.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Blends | TArray< TStrongObjectPtr< UClass > > | Components/DMMaterialStageBlend.h | |
| InputA | int32 | Components/DMMaterialStageBlend.h | |
| InputAlpha | int32 | Components/DMMaterialStageBlend.h | |
| InputB | int32 | Components/DMMaterialStageBlend.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BlendOpacityLayer
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
When building the opacity (mask) base input, combines the previous layer's alpha output with this ones. | Components/DMMaterialStageBlend.h | |
EAvaColorChannel GetBaseChannelOverride() |
Components/DMMaterialStageBlend.h |
|
|
const FText & GetBlendDescription() |
Components/DMMaterialStageBlend.h |
|
|
UDMMaterialValueFloat1 * GetInputAlpha() |
Components/DMMaterialStageBlend.h | ||
UDMMaterialStageInput * GetInputB() |
Components/DMMaterialStageBlend.h | ||
UDMMaterialStageInputValue * GetOpacityValue
(
UDMMaterialStage* InStage |
Components/DMMaterialStageBlend.h | ||
void SetBaseChannelOverride
(
EAvaColorChannel InMaskChannel |
Components/DMMaterialStageBlend.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/DMMaterialStageBlend.h | |
virtual bool CanChangeInput
(
int32 InThroughputInputIndex |
Whether the value of the given input change. | Components/DMMaterialStageBlend.h | |
virtual bool CanChangeInputType
(
int32 InThroughputInputIndex |
Whether you can change the type of the given input. | Components/DMMaterialStageBlend.h | |
virtual bool CanInputAcceptType
(
int32 InputIndex, |
Components/DMMaterialStageBlend.h | ||
virtual FDMExpressionInput GetLayerMaskLinkTextureUVInputExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Returns all the material nodes requires to create this node's Texture UV input. | Components/DMMaterialStageBlend.h | |
virtual bool IsInputVisible
(
int32 InThroughputInputIndex |
Whether this input will show up in the Material Designer editor. | Components/DMMaterialStageBlend.h | |
virtual void OnPostInputAdded
(
int32 InInputIdx |
Components/DMMaterialStageBlend.h | ||
virtual int32 ResolveInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Generates (or retrieves) expressions that produce this input for the node. | Components/DMMaterialStageBlend.h | |
virtual bool SupportsLayerMaskTextureUVLink() |
Returns true if the layer and mask can have their Texture UV linked. | Components/DMMaterialStageBlend.h |
Overridden from UDMMaterialStageSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GenerateStagePreviewMaterial
(
UDMMaterialStage* InStage, |
Generates a preview material based on this source, as owned by the given stage. | Components/DMMaterialStageBlend.h | |
virtual void GetMaskAlphaBlendNode
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
For pre-multiplied alpha, this retrieves the node which should be multiplied against. | Components/DMMaterialStageBlend.h | |
virtual FText GetStageDescription() |
Returns a description of the stage for which this is the source. | Components/DMMaterialStageBlend.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FSlateIcon GetComponentIcon() |
Components/DMMaterialStageBlend.h | ||
virtual void Update
(
UDMMaterialComponent* InSource, |
Components/DMMaterialStageBlend.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Components/DMMaterialStageBlend.h | ||
virtual void PostEditUndo() |
Components/DMMaterialStageBlend.h |
Overridden from FNotifyHook
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void NotifyPostChange
(
const FPropertyChangedEvent& InPropertyChangedEvent, |
Components/DMMaterialStageBlend.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanUseBaseChannelOverride() |
Returns true if there are any outputs on the base input that have more than 1 channel. | Components/DMMaterialStageBlend.h | |
int32 GetDefaultBaseChannelOverrideOutputIndex() |
Returns the first output on the base input that has more than 1 channel. | Components/DMMaterialStageBlend.h | |
bool IsValidBaseChannelOverrideOutputIndex
(
int32 InIndex |
Returns true if the given base output supports more than 1 channel. | Components/DMMaterialStageBlend.h | |
void PullBaseChannelOverride() |
Reads the current output setting from the input map. | Components/DMMaterialStageBlend.h | |
void PushBaseChannelOverride() |
Takes the override setting and applies it to the input map. | Components/DMMaterialStageBlend.h |
Overridden from UDMMaterialStageThroughput
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GeneratePreviewMaterial
(
UMaterial* InPreviewMaterial |
Generates a material based on the output of just this node. | Components/DMMaterialStageBlend.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CreateBlendOpacityLayer
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Components/DMMaterialStageBlend.h | ||
static UDMMaterialStage * CreateStage
(
TSubclassOf< UDMMaterialStageBlend > InMaterialStageBlendClass, |
Components/DMMaterialStageBlend.h | ||
static void GenerateBlendList() |
Components/DMMaterialStageBlend.h | ||
static const TArray< TStrongObjectPtr< UClass > > & GetAvailableBlends() |
Components/DMMaterialStageBlend.h |