FDiscMeshGenerator

Generate planar disc (a circle polygon)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/DiscMeshGenerator.h

Include

#include "Generators/DiscMeshGenerator.h"

Syntax

class FDiscMeshGenerator : public FMeshShapeGenerator

Remarks

Generate planar disc (a circle polygon)

Variables

Name Description

Public variable

int

 

AngleSamples

Number of vertices around circumference

Public variable

bool

 

bSinglePolygroup

If true, output mesh has a single polygroup, otherwise each quad/tri gets a separate group

Public variable

float

 

EndAngle

End of angle range spanned by disc, in degrees

Public variable

FIndex2i

 

IndicesMap

How to map 2D indices to 3D. Default is (0,1) = (x,y,0).

Public variable

FVector3f

 

Normal

Normal vector of all vertices will be set to this value. Default is +Z axis.

Public variable

int

 

RadialSamples

Number of vertices along radial spokes

Public variable

float

 

Radius

Radius

Public variable

float

 

StartAngle

Start of angle range spanned by disc, in degrees

Constructors

Name Description

Public function

FDiscMeshGenerator()

Functions

Name Description

Public function

FVector3d

 

MakeVertex

(
    double x,
    double y
)

Create vertex at position under IndicesMap, shifted to Origin

Overridden from FMeshShapeGenerator

Name Description

Public function Virtual

FMeshShapeGe...

 

Generate()

Generate the disc

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss