Navigation
API > API/Plugins > API/Plugins/TextureGraph > API/Plugins/TextureGraph/Expressions > API/Plugins/TextureGraph/Expressions/Procedural
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTG_Expression
- UTG_Expression_Transform
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/Procedural/TG_Expression_Transform.h |
| Include | #include "Expressions/Procedural/TG_Expression_Transform.h" |
Syntax
UCLASS ()
class UTG_Expression_Transform : public UTG_Expression
Remarks
Expression.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector2f | Coverage | The coverage of the transform in range [0, 1]. Defaults to 1,1. | |
| FLinearColor | FillColor | Filling color for non texture source. | |
| FTG_Texture | Input | The Input image to transform. | |
| bool | MirrorX | Filter mode is wrap or clamped. | |
| bool | MirrorY | Filter mode is wrap or clamped. | |
| FVector2f | Offset | The translation offset along xy in range [0, 1]. Defaults to 0. | |
| FTG_Texture | Output | Output image. | |
| FVector2f | Pivot | The pivot XY coord in range [0, 1]. Defaults to 0.5. | |
| FVector2f | Repeat | The repetitions along rotated X & Y axes. Defaults to 1. | |
| float | Rotation | The XY rotation expressed in degrees. | |
| float | ShowDebugGrid | Output blended with the debugging grid showing the transformation applied. | |
| bool | StaggerHorizontally | Staggering is horizontal ? or false for vertical. | |
| float | StaggerOffset | The staggering offset from one row to the next. | |
| float | StretchToFit | Keep the AspectRatio of the source image (0) or stretch to fit the cell rectangle (1) | |
| FVector2f | Stride | The skipping offset from one tile to the next. | |
| bool | WrapMode | Filter mode is wrap or clamped. | |
| float | Zoom | Uniform scaling of the cell aka the zoom effect: -1 => Zoom OUT => scale so that entire image fits in 1 pixel of the cell 0 => No Zoom => scale of 1 Source image completely visible in the cell +1 => Zoom IN => scale so that one pixel of the source fills the cell |
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 |