UKismetProceduralMeshLibrary::GetSectionFromProceduralMesh

Grab geometry data from a ProceduralMeshComponent.

Windows
MacOS
Linux

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Components|ProceduralMesh")
static void GetSectionFromProceduralMesh
(
    UProceduralMeshComponent * InProcMesh,
    int32 SectionIndex,
    TArray< FVector > & Vertices,
    TArray< int32 > & Triangles,
    TArray< FVector > & Normals,
    TArray< FVector2D > & UVs,
    TArray< FProcMeshTangent > & Tangents
)

Remarks

Grab geometry data from a ProceduralMeshComponent.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss