Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | UTG_Expression_Blend |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Maths/TG_Expression_Blend.h |
| Include Path | #include "Expressions/Maths/TG_Expression_Blend.h" |
Syntax
UCLASS (MinimalAPI)
class UTG_Expression_Blend : public UTG_Expression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTG_Expression → UTG_Expression_Blend
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Background | FTG_Texture | The second input (Background) to the blend function. | Expressions/Maths/TG_Expression_Blend.h |
|
| bClamp | bool | Expressions/Maths/TG_Expression_Blend.h |
|
|
| bIgnoreAlpha | bool | If true, it will ignore the alpha channel blending and keep the background alpha. | Expressions/Maths/TG_Expression_Blend.h |
|
| BlendMode | TEnumAsByte< EBlendModes::Type > | Blend mode determine how inputs texture mix together. | Expressions/Maths/TG_Expression_Blend.h |
|
| Foreground | FTG_Texture | The first input (Foreground) to the blend function. | Expressions/Maths/TG_Expression_Blend.h |
|
| Mask | FTG_Texture | The mask used to calculate the final blend value which is, 'Mask[RedChannel] * Opacity'. Default value is white. | Expressions/Maths/TG_Expression_Blend.h |
|
| Opacity | float | The opacity to be used in conjunction with the mask. The final blend value = 'Mask[RedChannel] * Opacity'. | Expressions/Maths/TG_Expression_Blend.h |
|
| Output | FTG_Texture | Expressions/Maths/TG_Expression_Blend.h |
|
Functions
Public
Overridden from UTG_Expression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
FTG_EvaluationContext* InContext |
This is THE evaluation call to overwrite. | Expressions/Maths/TG_Expression_Blend.h | |
virtual FName GetCategory() |
Expressions/Maths/TG_Expression_Blend.h | ||
virtual FTG_SignaturePtr GetSignature() |
Expressions/Maths/TG_Expression_Blend.h | ||
virtual FText GetTooltipText() |
Expressions/Maths/TG_Expression_Blend.h |