unreal.TG_Expression_Shape
¶
- class unreal.TG_Expression_Shape(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
TG_Expression
TG Expression Shape
C++ Source:
Plugin: TextureGraph
Module: TextureGraph
File: TG_Expression_Shape.h
Editor Properties: (see get_editor_property/set_editor_property)
bevel_curve
(float): [Read-Write] Bevel curve is controlling the shape of bevelling varying from concave to linear to convexbevel_width
(float): [Read-Write] Bevel width is the distance from the outline of the shape on which the bevelling function is applied to the generated maskheight
(float): [Read-Write] Height representing the relative size of the shape in the generate texture. Height is used in Rectangle and ellipse.orientation
(float): [Read-Write] Orientation is the 2D rotation of the shape around the centeroutput
(TG_Texture): [Read-Write] The output generated by the patternpolygon_num_sides
(int32): [Read-Write] The number of sides of the Polygon (only relevant when using the <Polygon> type)rounding
(float): [Read-Write] Rounding is about the 2D footprint of the shape generated, 0 means the perfect shape, 1 means the most rounded version of the shapeshape_type
(ShapeType): [Read-Write] Select the geometric primitive shape to generateshow_sdf
(float): [Read-Write] Signed distance function the mathematical function defining the distance to the edge of the shapewidth
(float): [Read-Write] 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
- property bevel_curve: float¶
[Read-Write] Bevel curve is controlling the shape of bevelling varying from concave to linear to convex
- Type:
(float)
- property bevel_width: float¶
[Read-Write] Bevel width is the distance from the outline of the shape on which the bevelling function is applied to the generated mask
- Type:
(float)
- property height: float¶
[Read-Write] Height representing the relative size of the shape in the generate texture. Height is used in Rectangle and ellipse.
- Type:
(float)
- property orientation: float¶
[Read-Write] Orientation is the 2D rotation of the shape around the center
- Type:
(float)
- property polygon_num_sides: int¶
[Read-Write] The number of sides of the Polygon (only relevant when using the <Polygon> type)
- Type:
(int32)
- property rounding: float¶
[Read-Write] Rounding is about the 2D footprint of the shape generated, 0 means the perfect shape, 1 means the most rounded version of the shape
- Type:
(float)