Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Generators
Inheritance Hierarchy
- FMeshShapeGenerator
- FMinimalBoxMeshGenerator
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Generators/MinimalBoxMeshGenerator.h |
| Include | #include "Generators/MinimalBoxMeshGenerator.h" |
Syntax
class FMinimalBoxMeshGenerator : public UE::Geometry::FMeshShapeGenerator
Remarks
Generate an oriented Box mesh with the smallest number of triangles possible (6 vertices, 12 triangles)
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOrientedBox3d | Box | 3D box | |
| bool | bScaleUVByAspectRatio | If true (default), UVs are scaled so that there is no stretching. |
Overridden from FMeshShapeGenerator
| Type | Name | Description | |
|---|---|---|---|
| FMeshShapeGenerator & | Generate () |
Generate the mesh |