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_Shape
References
| Module | TextureGraph |
| Header | /Engine/Plugins/Experimental/TextureGraph/Source/TextureGraph/Public/Expressions/Procedural/TG_Expression_Shape.h |
| Include | #include "Expressions/Procedural/TG_Expression_Shape.h" |
Syntax
UCLASS ()
class UTG_Expression_Shape : public UTG_Expression
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | BevelCurve | Bevel curve is controlling the shape of bevelling varying from concave to linear to convex. | |
| float | BevelWidth | Bevel width is the distance from the outline of the shape on which the bevelling function is applied to the generated mask. | |
| float | Height | Height representing the relative size of the shape in the generate texture. Height is used in Rectangle and ellipse. | |
| float | Orientation | Orientation is the 2D rotation of the shape around the center. | |
| FTG_Texture | Output | The output generated by the pattern. | |
| int32 | PolygonNumSides | The number of sides of the Polygon (only relevant when using the |
|
| float | Rounding | Rounding is about the 2D footprint of the shape generated, 0 means the perfect shape, 1 means the most rounded version of the shape. | |
| EShapeType | ShapeType | Select the geometric primitive shape to generate. | |
| float | ShowSDF | Signed distance function the mathematical function defining the distance to the edge of the shape. | |
| float | Width | Width representing the relative size of the shape in the generated texture. For Circle/Triangle/Pentagon hexagon and Polygon it is the radius of the shape relative to the uv domain of the generated texture. |
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 |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Used to implement EditCondition logic for both Node UI and Details View. |
Constants
| Name | Description |
|---|---|
| DefaultSize |