Navigation
API > API/Runtime > API/Runtime/GeometryCore
FBaseRevolveGenerator is a base class for simple surface-of-revolution generators. Internally these are implemented via FSweepGenerator, but the Revolve generators provide simpler-to-use interfaces and handle some other aspects like endcapping/etc.
Revolve generators currently depend on the ability to use DynamicMesh operations to (eg) triangulate endcaps/etc, and so they are not currently FMeshShapeGenerators (this may be resolved in future)
| Name | FBaseRevolveGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/RevolveGenerator.h |
| Include Path | #include "Generators/RevolveGenerator.h" |
Syntax
class FBaseRevolveGenerator
Derived Classes
Enums
Public
| Name | Remarks |
|---|---|
| ECapFillMode |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFillPartialRevolveEndcaps | bool | Whether or not to fill the open ends of a partial revolve, if possible | Generators/RevolveGenerator.h | |
| bProfileAtMidpoint | bool | Generators/RevolveGenerator.h | ||
| bReverseDirection | bool | Reverse the direction of the revolution, for non-closed revolutions | Generators/RevolveGenerator.h | |
| bUVScaleRelativeWorld | bool | When true, the generator attempts to scale UV's in a way that preserves scaling across different mesh results, aiming for 1.0 in UV space to be equal to UnitUVInWorldCoordinates in world space. | Generators/RevolveGenerator.h | |
| DegreeOffset | float | Offset for revolution degrees, eg to shift partial revolution around the revolve circle | Generators/RevolveGenerator.h | |
| DiagonalTolerance | double | When QuadSplitMode is ShortestDiagonal, biases one of the diagonals so that symmetric quads are split uniformly. | Generators/RevolveGenerator.h | |
| PolygonGroupingMode | EProfileSweepPolygonGrouping | PolygonGroupingMode controls how polygroups are assigned on the output mesh | Generators/RevolveGenerator.h | |
| QuadSplitMethod | EProfileSweepQuadSplit | QuadSplitMethod controls how quads are split into triangles (see enum comments) | Generators/RevolveGenerator.h | |
| RevolveDegrees | float | Degrees of the revolution path (eg circle for a regular revolution). Maybe clamped in some cases. | Generators/RevolveGenerator.h | |
| Steps | int32 | Number of discrete steps used to sample the revolution path | Generators/RevolveGenerator.h | |
| UnitUVInWorldCoordinates | float | Only relevant if bUVScaleRelativeWorld is true (see that description) | Generators/RevolveGenerator.h | |
| UVOffset | FVector2d | These values will be added to the generated UV coordinates after applying UVScale. | Generators/RevolveGenerator.h | |
| UVScale | FVector2d | Generated UV coordinates will be multiplied by these values. | Generators/RevolveGenerator.h |