Navigation
API > API/Plugins > API/Plugins/CustomMeshComponent > API/Plugins/CustomMeshComponent/UCustomMeshComponent
Description
Add to the geometry to use on this triangle mesh. This may cause an allocation. Use SetCustomMeshTriangles() instead when possible to reduce allocations.
| Name | AddCustomMeshTriangles |
| Type | function |
| Header File | /Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Classes/CustomMeshComponent.h |
| Include Path | #include "CustomMeshComponent.h" |
| Source | /Engine/Plugins/Runtime/CustomMeshComponent/Source/CustomMeshComponent/Private/CustomMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|CustomMesh")
void AddCustomMeshTriangles
(
const TArray < FCustomMeshTriangle > & Triangles
)