![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GridBoxMeshGenerator.h>
Inheritance diagram for UE::Geometry::FGridBoxMeshGenerator:Public Attributes | |
| FOrientedBox3d | Box |
| FIndex3i | EdgeVertices { 8,8,8 } |
| bool | bScaleUVByAspectRatio = true |
| bool | bPolygroupPerQuad = false |
Public Attributes inherited from UE::Geometry::FMeshShapeGenerator | |
| TArray< FVector3d > | Vertices |
| TArray< FVector2f > | UVs |
| TArray< int > | UVParentVertex |
| TArray< FVector3f > | Normals |
| TArray< int > | NormalParentVertex |
| TArray< FIndex3i > | Triangles |
| TArray< FIndex3i > | TriangleUVs |
| TArray< FIndex3i > | TriangleNormals |
| TArray< int > | TrianglePolygonIDs |
| bool | bReverseOrientation = false |
Additional Inherited Members | |
Static Public Member Functions inherited from UE::Geometry::FMeshShapeGenerator | |
| static FVector3d | BilinearInterp (const FVector3d &v00, const FVector3d &v10, const FVector3d &v11, const FVector3d &v01, double tx, double ty) |
| static FVector2d | BilinearInterp (const FVector2d &v00, const FVector2d &v10, const FVector2d &v11, const FVector2d &v01, double tx, double ty) |
| static FVector2f | BilinearInterp (const FVector2f &v00, const FVector2f &v10, const FVector2f &v11, const FVector2f &v01, float tx, float ty) |
| static FVector3i | LinearInterp (const FVector3i &a, const FVector3i &b, double t) |
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
|
inlineoverridevirtual |
Generate the mesh
Implements UE::Geometry::FMeshShapeGenerator.
Reimplemented in UE::Geometry::FBoxSphereGenerator.
| FOrientedBox3d UE::Geometry::FGridBoxMeshGenerator::Box |
3D box
If true, each quad of box gets a separate polygroup
If true (default), UVs are scaled so that there is no stretching. If false, UVs are scaled to fill unit square
| FIndex3i UE::Geometry::FGridBoxMeshGenerator::EdgeVertices { 8,8,8 } |