Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor
Used as the source for mask stages.
| Name | UDMMaterialStageThroughputLayerBlend |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialStageThroughputLayerBlend.h |
| Include Path | #include "Components/DMMaterialStageThroughputLayerBlend.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer")
class UDMMaterialStageThroughputLayerBlend : public UDMMaterialStageThroughput
Inheritance Hierarchy
- FNotifyHook → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageThroughputLayerBlend
- UObjectBase → UObjectBaseUtility → UObject → UDMMaterialComponent → UDMMaterialStageSource → UDMMaterialStageThroughput → UDMMaterialStageThroughputLayerBlend
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDMMaterialStageThroughputLayerBlend() |
Components/DMMaterialStageThroughputLayerBlend.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InputBaseStage | int32 | Components/DMMaterialStageThroughputLayerBlend.h | |
| InputMaskSource | int32 | Components/DMMaterialStageThroughputLayerBlend.h | |
| InputPreviousLayer | int32 | Components/DMMaterialStageThroughputLayerBlend.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GenerateExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Components/DMMaterialStageThroughputLayerBlend.h | ||
UDMMaterialStageInput * GetInputMask() |
Returns the input connected to the Mask input. | Components/DMMaterialStageThroughputLayerBlend.h |
|
EAvaColorChannel GetMaskChannelOverride() |
Filters the output of the mask input node with the given channel. | Components/DMMaterialStageThroughputLayerBlend.h |
|
void GetMaskOutput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Resolves the Mask input. | Components/DMMaterialStageThroughputLayerBlend.h | |
void SetMaskChannelOverride
(
EAvaColorChannel InMaskChannel |
Filters the output of the mask input node with the given channel. | Components/DMMaterialStageThroughputLayerBlend.h |
|
void SetPremultiplyAlpha
(
bool bInValue |
When true, the base stage's output will be multiplied by this stage (darkening it where it is translucent). | Components/DMMaterialStageThroughputLayerBlend.h |
|
bool UsePremultiplyAlpha() |
When true, the base stage's output will be multiplied by this stage (darkening it where it is translucent). | Components/DMMaterialStageThroughputLayerBlend.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/DMMaterialStageThroughputLayerBlend.h | |
virtual bool CanChangeInput
(
int32 InThroughputInputIndex |
Whether the value of the given input change. | Components/DMMaterialStageThroughputLayerBlend.h | |
virtual void ConnectOutputToInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Connect the output of a node to the given input of this node. | Components/DMMaterialStageThroughputLayerBlend.h | |
virtual bool IsInputVisible
(
int32 InThroughputInputIndex |
Whether this input will show up in the Material Designer editor. | Components/DMMaterialStageThroughputLayerBlend.h | |
virtual void OnPostInputAdded
(
int32 InInputIdx |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual int32 ResolveInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Generates (or retrieves) expressions that produce this input for the node. | Components/DMMaterialStageThroughputLayerBlend.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/DMMaterialStageThroughputLayerBlend.h | |
virtual FText GetStageDescription() |
Returns a description of the stage for which this is the source. | Components/DMMaterialStageThroughputLayerBlend.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FSlateIcon GetComponentIcon() |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual bool IsPropertyVisible
(
FName InProperty |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual void PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual void Update
(
UDMMaterialComponent* InSource, |
Components/DMMaterialStageThroughputLayerBlend.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual void PostEditImport() |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual void PostEditUndo() |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual void PostLoad() |
Components/DMMaterialStageThroughputLayerBlend.h |
Overridden from FNotifyHook
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void NotifyPostChange
(
const FPropertyChangedEvent& InPropertyChangedEvent, |
Components/DMMaterialStageThroughputLayerBlend.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanUseMaskChannelOverride() |
Returns true if there are any outputs on the mask input that have more than 1 channel. | Components/DMMaterialStageThroughputLayerBlend.h | |
void GenerateMainExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Components/DMMaterialStageThroughputLayerBlend.h | ||
void GeneratePreviewExpressions
(
const TSharedRef< FDMMaterialBuildState >& InBuildState |
Components/DMMaterialStageThroughputLayerBlend.h | ||
int32 GetDefaultMaskChannelOverrideOutputIndex() |
Returns the first output on the mask input that has more than 1 channel. | Components/DMMaterialStageThroughputLayerBlend.h | |
void InitBlendStage() |
Components/DMMaterialStageThroughputLayerBlend.h | ||
bool IsValidMaskChannelOverrideOutputIndex
(
int32 InIndex |
Returns true if the given mask output supports more than 1 channel. | Components/DMMaterialStageThroughputLayerBlend.h | |
virtual void OnStageUpdated
(
UDMMaterialComponent* InComponent, |
Called when the owning stage is updated. | Components/DMMaterialStageThroughputLayerBlend.h | |
void PullMaskChannelOverride() |
Reads the current output setting from the input map. | Components/DMMaterialStageThroughputLayerBlend.h | |
void PushMaskChannelOverride() |
Takes the override setting and applies it to the input map. | Components/DMMaterialStageThroughputLayerBlend.h | |
virtual int32 ResolveMaskInput
(
const TSharedRef< FDMMaterialBuildState >& InBuildState, |
Components/DMMaterialStageThroughputLayerBlend.h | ||
virtual void UpdateAlphaOnlyMasks
(
EDMUpdateType InUpdateType |
Update this and all parent layer mask stages that are only-only (no based). | Components/DMMaterialStageThroughputLayerBlend.h | |
virtual void UpdateAlphaOnlyMaskStatus() |
Updates the value of bIsAlphaOnlyBlend based on current conditions. | Components/DMMaterialStageThroughputLayerBlend.h | |
void UpdateLinkedInputStage
(
EDMUpdateType InUpdateType |
If this shades any inputs with the base stage, update the base stage. | Components/DMMaterialStageThroughputLayerBlend.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/DMMaterialStageThroughputLayerBlend.h |
Overridden from UDMMaterialComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnComponentAdded() |
Components/DMMaterialStageThroughputLayerBlend.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDMMaterialStage * CreateStage
(
UDMMaterialLayerObject* InLayer |
Components/DMMaterialStageThroughputLayerBlend.h |
|