Navigation
API > API/Runtime > API/Runtime/GeometryCore
Adds rounded corners to the rectangle mesh
| Name | FRoundedRectangleMeshGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/RectangleMeshGenerator.h |
| Include Path | #include "Generators/RectangleMeshGenerator.h" |
Syntax
class FRoundedRectangleMeshGenerator : public UE::Geometry::FRectangleMeshGenerator
Inheritance Hierarchy
- FMeshShapeGenerator → FRectangleMeshGenerator → FRoundedRectangleMeshGenerator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRoundedRectangleMeshGenerator() |
Generators/RectangleMeshGenerator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngleSamples | int | Number of samples to put per rounded corner | Generators/RectangleMeshGenerator.h | |
| Radius | double | Radius of rounded corners | Generators/RectangleMeshGenerator.h | |
| SharpCorners | ERoundedRectangleCorner | Generators/RectangleMeshGenerator.h |
Functions
Public
Overridden from FMeshShapeGenerator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FMeshShapeGenerator & Generate() |
Generate the mesh | Generators/RectangleMeshGenerator.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int NumSharpCorners
(
ERoundedRectangleCorner SharpFlags |
Generators/RectangleMeshGenerator.h | ||
static bool SideInCorners
(
int SideX, |
Generators/RectangleMeshGenerator.h |