Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/MeshShapeGenerator.h |
Include |
#include "Generators/MeshShapeGenerator.h" |
class FMeshShapeGenerator
Base class for triangle mesh generators (eg like to generate sphere, cylinder, etc) Subclasses must implement Generate()
Name | Description | ||
---|---|---|---|
|
bReverseOrientation |
If true, reverse orientation of created mesh |
|
|
TArray< int > |
NormalParentVertex |
Parent vertex index for each Normal. Same length as Normals array. |
|
Normals |
Array of Normals. |
|
|
TriangleNormals |
Array of triangle corner Normals, stored as tuples of indices into Normals array. |
|
|
TArray< int > |
TrianglePolygonIDs |
Array of per-triangle integer polygon IDs. Same length as Triangles array. |
|
Triangles |
Array of triangle corner positions, stored as tuples of indices into Vertices array |
|
|
TriangleUVs |
Array of triangle corner UVs, stored as tuples of indices into UVs array. |
|
|
TArray< int > |
UVParentVertex |
Parent vertex index for each UV. Same length as UVs array. |
|
UVs |
Array of UV positions. |
|
|
Vertices |
Array of vertex positions |
Name | Description | |
---|---|---|
|
~FMeshShapeGenerator() |
Name | Description | ||
---|---|---|---|
|
int |
AppendNormal ( |
|
|
int |
AppendTriangle ( |
|
|
int |
AppendUV ( |
|
|
int |
AppendVertex ( |
Append a new vertex at the given Position |
|
BilinearInterp |
||
|
BilinearInterp |
||
|
BilinearInterp |
||
|
ExtendBufferSizes ( |
Extends the various internal buffers to the correct sizes for the given additional element counts |
|
|
FMeshShapeGe... |
Generate() |
Subclasses implement this to generate mesh |
|
HasAttributes() |
||
|
LinearInterp |
||
|
Reset() |
Clear arrays so that Generate() can be run again |
|
|
SetBufferSizes ( |
Set the various internal buffers to the correct sizes for the given element counts |
|
|
SetNormal ( |
Set Normal at Index to given value with given ParentVertex |
|
|
SetTriangle ( |
||
|
SetTriangle ( |
||
|
SetTriangle ( |
||
|
SetTriangleNormals ( |
||
|
SetTriangleNormals ( |
||
|
SetTriangleNormals ( |
||
|
SetTrianglePolygon ( |
||
|
SetTriangleUVs ( |
||
|
SetTriangleUVs ( |
||
|
SetTriangleUVs ( |
||
|
SetTriangleWithMatchedUVNormal ( |
Set triangle and UVs and normals with matching indices Convenience function for shapes with no uv or normal seams |
|
|
SetUV ( |
Set UV at Index to given value with given ParentVertex |
|
|
SetVertex ( |
Set vertex at Index to given Position |