Navigation
API > API/Plugins > API/Plugins/ProceduralMeshComponent > API/Plugins/ProceduralMeshComponent/UKismetProceduralMeshLibrary
References
| Module | ProceduralMeshComponent |
| Header | /Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Public/KismetProceduralMeshLibrary.h |
| Include | #include "KismetProceduralMeshLibrary.h" |
| Source | /Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Private/KismetProceduralMeshLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Components&124;ProceduralMesh"&41;
static void GenerateBoxMesh
&40;
FVector BoxRadius,
TArray< FVector > & Vertices,
TArray< int32 > & Triangles,
TArray< FVector > & Normals,
TArray< FVector2D > & UVs,
TArray< FProcMeshTangent > & Tangents
&41;
Remarks
Generate vertex and index buffer for a simple box, given the supplied dimensions. Normals, UVs and tangents are also generated for each vertex.