Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FDiscMeshGenerator
- FPuncturedDiscMeshGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/DiscMeshGenerator.h |
| Include | #include "Generators/DiscMeshGenerator.h" |
Syntax
class FDiscMeshGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Generate planar disc (a circle polygon)
Variables
| Type | Name | Description | |
|---|---|---|---|
| int | AngleSamples | Number of vertices around circumference | |
| bool | bSinglePolygroup | If true, output mesh has a single polygroup, otherwise each quad/tri gets a separate group | |
| float | EndAngle | End of angle range spanned by disc, in degrees | |
| FIndex2i | IndicesMap | How to map 2D indices to 3D. Default is (0,1) = (x,y,0). | |
| FVector3f | Normal | Normal vector of all vertices will be set to this value. Default is +Z axis. | |
| int | RadialSamples | Number of vertices along radial spokes | |
| float | Radius | Radius | |
| float | StartAngle | Start of angle range spanned by disc, in degrees |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector3d | MakeVertex
(
double x, |
Create vertex at position under IndicesMap, shifted to Origin |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate the disc |