/Engine/Source/Runtime/GeometryCore/Public/Generators/RectangleMeshGenerator.h
Generate planar rectangular mesh with variable number of subdivisions along width and height.Bydefault, center of rectangle is centered at (0,0,0) origin
class FRectangleMeshGenerator : public [UE::Geometry::FMeshShapeGenerator](API\Runtime\GeometryCore\Generators\FMeshShapeGenerator)
bool
bScaleUVByAspectRatio
If true (default), UVs are scaled so that there is no stretching.
bool
bSinglePolyGroup
If true, output mesh has a single polygroup, otherwise each quad gets a separate group
double
Height
Height of rectangle
int
HeightVertexCount
Number of vertices along Height axis
FIndex2i
IndicesMap
Specifies how 2D indices are mapped to 3D points. Default is (0,1) = (x,y,0).
FVector3f
Normal
Normal vector of all vertices will be set to this value. Default is +Z axis.
FVector3d
Origin
Rectangle will be translated so that center is at this point
double
Width
Width of rectangle
int
WidthVertexCount
Number of vertices along Width axis