Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FSphereGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/SphereGenerator.h |
| Include | #include "Generators/SphereGenerator.h" |
Syntax
class FSphereGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Generate a sphere mesh, with UVs wrapped cylindrically
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPolygroupPerQuad | If true, each quad of box gets a separate polygroup | |
| int | NumPhi | ||
| int | NumTheta | ||
| double | Radius | Radius |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate the mesh |
Typedefs
| Name | Description |
|---|---|
| CornerIndices |