Navigation
API > API/Runtime > API/Runtime/GeometryCore
Generate a sphere by pushing a boxes vertices onto a sphere often more useful
| Name | FBoxSphereGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Generators/BoxSphereGenerator.h |
| Include Path | #include "Generators/BoxSphereGenerator.h" |
Syntax
class FBoxSphereGenerator : public UE::Geometry::FGridBoxMeshGenerator
Inheritance Hierarchy
- FMeshShapeGenerator → FGridBoxMeshGenerator → FBoxSphereGenerator
Enums
Public
| Name | Remarks |
|---|---|
| ESphereProjectionMethod | Options for methods to project cube vertices to the sphere |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Radius | float | Sphere radius | Generators/BoxSphereGenerator.h | |
| SphereProjectionMethod | ESphereProjectionMethod | Generators/BoxSphereGenerator.h |
Functions
Public
Overridden from FMeshShapeGenerator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FMeshShapeGenerator & Generate() |
Generate the mesh | Generators/BoxSphereGenerator.h |