Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/DynamicMeshBuilder.h |
Include |
#include "DynamicMeshBuilder.h" |
class FDynamicMeshBuilder
A utility used to construct dynamically generated meshes, and render them to a FPrimitiveDrawInterface. Note: This is meant to be easy to use, not fast. It moves the data around more than necessary, and requires dynamically allocating RHI resources. Exercise caution.
Name | Description | |
---|---|---|
|
FDynamicMeshBuilder ( |
Initialization constructor. |
Name | Description | |
---|---|---|
|
~FDynamicMeshBuilder() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
AddTriangle |
Adds a triangle to the mesh. |
|
|
AddTriangles |
Add many indices to the mesh. |
|
|
AddVertex ( |
Adds a vertex to the mesh. |
|
|
AddVertex |
Adds a vertex to the mesh. |
|
|
AddVertices ( |
Adds many vertices to the mesh. |
|
|
Draw ( |
Draws the mesh to the given primitive draw interface. |
|
|
GetMesh ( |
Adds a mesh of what's been built so far to the collector. |
|
|
GetMesh ( |
||
|
GetMesh ( |
||
|
GetMesh ( |
||
|
GetMesh ( |
||
|
GetMeshElement ( |
||
|
ReserveTriangles ( |
Pre-allocate space for the given number of triangles. |
|
|
ReserveVertices ( |
Pre-allocate space for the given number of vertices. |