| FMeshShapeGenerator
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/RectangleMeshGenerator.h |
Include |
#include "Generators/RectangleMeshGenerator.h" |
class FRectangleMeshGenerator : public FMeshShapeGenerator
Generate planar rectangular mesh with variable number of subdivisions along width and height. By default, center of rectangle is centered at (0,0,0) origin
Name | Description | ||
---|---|---|---|
|
bScaleUVByAspectRatio |
If true (default), UVs are scaled so that there is no stretching. |
|
|
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 |
|
IndicesMap |
Specifies how 2D indices are mapped to 3D points. Default is (0,1) = (x,y,0). |
|
|
Normal |
Normal vector of all vertices will be set to this value. Default is +Z axis. |
|
|
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 |
Name | Description | |
---|---|---|
|
FRectangleMeshGenerator() |
Name | Description | ||
---|---|---|---|
|
MakeVertex ( |
Create vertex at position under IndicesMap, shifted to Origin |
Name | Description | ||
---|---|---|---|
|
FMeshShapeGe... |
Generate() |
Generate the mesh |