Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/MeshDescriptionBuilder.h |
Include |
#include "MeshDescriptionBuilder.h" |
class FMeshDescriptionBuilder
Utility class to construct MeshDescription instances
Name | Description | ||
---|---|---|---|
|
FVertexInsta... |
AppendInstance ( |
Append new vertex instance and return ID |
|
AppendPolygon |
Append an arbitrary polygon to the mesh with the given PolygonGroup ID, and optionally with polygon-vertex UVs and Normals Unique Vertex instances will be created for each polygon-vertex. |
|
|
FPolygonGrou... |
AppendPolygonGroup() |
Create a new polygon group and return it's ID |
|
AppendTriangle ( |
Append a triangle to the mesh using the given vertex instances and PolygonGroup ID |
|
|
AppendTriangle ( |
Append a triangle to the mesh with the given PolygonGroup ID, and optionally with triangle-vertex UVs and Normals |
|
|
AppendTriangle ( |
Append a triangle to the mesh with the given PolygonGroup ID |
|
|
AppendVertex ( |
Append vertex and return new vertex ID |
|
|
ComputeBoundingBox() |
Return the current bounding box of the mesh |
|
|
EnablePolyGroups() |
Enable per-triangle integer attribute named PolyTriGroups |
|
|
GetPosition ( |
Return position of vertex |
|
|
GetPosition ( |
Return position of vertex parent of instance |
|
|
SetAllEdgesHardness ( |
Set [MeshAttribute::Edge::IsHard](API\Runtime\StaticMeshDescription\IsHard) to true for all edges |
|
|
SetInstance ( |
Set the UV and Normal of a vertex instance |
|
|
SetInstanceColor ( |
Set the Color of a vertex instance |
|
|
SetInstanceNormal ( |
Set the Normal of a vertex instance |
|
|
SetInstanceUV ( |
Set the UV of a vertex instance |
|
|
SetMeshDescription ( |
||
|
SetNumUVLayers ( |
Set the number of UV layers |
|
|
SetPolyGroupID ( |
Set the PolyTriGroups attribute value to a specific GroupID for a Polygon |
|
|
SetPosition |
Set the position of a vertex |
|
|
Translate ( |
Translate the MeshDescription vertex positions |