Navigation
Unreal Engine C++ API Reference > Plugins > ProceduralMeshComponent
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UKismetProceduralMeshLibrary
References
Module | ProceduralMeshComponent |
Header | /Engine/Plugins/Runtime/ProceduralMeshComponent/Source/ProceduralMeshComponent/Public/KismetProceduralMeshLibrary.h |
Include | #include "KismetProceduralMeshLibrary.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"ProceduralMeshLibrary"&41;&41;
class UKismetProceduralMeshLibrary : public UBlueprintFunctionLibrary
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
void | CalculateTangentsForMesh
(
const TArray< FVector >& Vertices, |
Automatically generate normals and tangent vectors for a mesh UVs are required for correct tangent generation. |
![]() ![]() ![]() ![]() |
void | ConvertQuadToTriangles
(
TArray< int32 >& Triangles, |
Add a quad, specified by four indices, to a triangle index buffer as two triangles. |
![]() ![]() ![]() ![]() |
void | CopyProceduralMeshFromStaticMeshComponent
(
UStaticMeshComponent* StaticMeshComponent, |
Copy materials from StaticMeshComponent to ProceduralMeshComponent. |
![]() ![]() ![]() ![]() |
void | CreateGridMeshSplit
(
int32 NumX, |
Generate a vertex buffer, index buffer and UVs for a grid mesh where each quad is split, with standard 0-1 UVs on UV0 and point sampled texel center UVs for UV1. |
![]() ![]() ![]() ![]() |
void | CreateGridMeshTriangles
(
int32 NumX, |
Generate an index buffer for a grid of quads. |
![]() ![]() ![]() ![]() |
void | CreateGridMeshWelded
(
int32 NumX, |
Generate a vertex buffer, index buffer and UVs for a tessellated grid mesh. |
![]() ![]() ![]() ![]() |
void | GenerateBoxMesh
(
FVector BoxRadius, |
Generate vertex and index buffer for a simple box, given the supplied dimensions. |
![]() ![]() ![]() ![]() |
void | GetSectionFromProceduralMesh
(
UProceduralMeshComponent* InProcMesh, |
Grab geometry data from a ProceduralMeshComponent. |
![]() ![]() ![]() ![]() |
void | GetSectionFromStaticMesh
(
UStaticMesh* InMesh, |
Grab geometry data from a StaticMesh asset. |
![]() ![]() ![]() ![]() |
void | SliceProceduralMesh
(
UProceduralMeshComponent* InProcMesh, |
Slice the ProceduralMeshComponent (including simple convex collision) using a plane. |