Navigation
API > API/Plugins > API/Plugins/TextureGraph > API/Plugins/TextureGraph/Expressions > API/Plugins/TextureGraph/Expressions/Maths
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTG_Expression
- UTG_Expression_Invert
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/Maths/TG_Expression_Invert.h |
| Include | #include "Expressions/Maths/TG_Expression_Invert.h" |
Syntax
UCLASS ()
class UTG_Expression_Invert : public UTG_Expression
Remarks
Expression.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | Clamp | Saturate/clamp values in the [0, 1] range or not. | |
| bool | IncludeAlpha | Whether to invert the Alpha channel as well? | |
| FTG_Texture | Input | The input texture to be inverted. | |
| float | MaxValue | The max value to use. | |
| FTG_Texture | Output | The inverted output. This is calculated as MaxValue - Input for every pixel in every channel. |
Overridden from UTG_Expression
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluate
(
FTG_EvaluationContext* InContext |
This is THE evaluation call to overwrite. | |
| FName | GetCategory () |
||
| FTG_SignaturePtr | GetSignature () |
||
| FText |