Navigation
API > API/Plugins > API/Plugins/TextureGraph
| Name | UTG_Expression_Gradient |
| Type | class |
| Header File | /Engine/Plugins/TextureGraph/Source/TextureGraph/Public/Expressions/Procedural/TG_Expression_Gradient.h |
| Include Path | #include "Expressions/Procedural/TG_Expression_Gradient.h" |
Syntax
UCLASS ()
class UTG_Expression_Gradient : public UTG_Expression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTG_Expression → UTG_Expression_Gradient
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Center | FVector2f | The center of the radial gradient. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Interpolation | EGradientInterpolation | Type of interpolation to use. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Output | FTG_Texture | The generated gradient texture. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Point1 | FVector2f | First point of the line for axial gradients. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Point2 | FVector2f | Second point of the line for axial gradients. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Radius | float | The center of the radial gradient. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Rotation | EGradientRotation | Rotation of the gradient. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| RotationLimited | EGradientRotationLimited | Rotation of the gradient. | Expressions/Procedural/TG_Expression_Gradient.h |
|
| Type | EGradientType | The type of the gradient function. | Expressions/Procedural/TG_Expression_Gradient.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/Procedural/TG_Expression_Gradient.h | |
virtual FName GetCategory() |
Expressions/Procedural/TG_Expression_Gradient.h | ||
virtual FTG_SignaturePtr GetSignature() |
Expressions/Procedural/TG_Expression_Gradient.h | ||
virtual FText GetTooltipText() |
Expressions/Procedural/TG_Expression_Gradient.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
Used to implement EditCondition logic for both Node UI and Details View. | Expressions/Procedural/TG_Expression_Gradient.h |