Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FGridBoxMeshGenerator
- FBoxSphereGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/GridBoxMeshGenerator.h |
| Include | #include "Generators/GridBoxMeshGenerator.h" |
Syntax
class FGridBoxMeshGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Generate a mesh of a box that has "gridded" faces, i.e. grid of triangulated quads, with EdgeVertices setting the number of verts along each edge in each dimension
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOrientedBox3d | Box | 3D box | |
| bool | bPolygroupPerQuad | If true, each quad of box gets a separate polygroup | |
| bool | bScaleUVByAspectRatio | If true (default), UVs are scaled so that there is no stretching. | |
| FIndex3i | EdgeVertices |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate the mesh |