UKismetProceduralMeshLibrary::GetSectionFromStaticMesh

Grab geometry data from a StaticMesh asset.

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 GetSectionFromStaticMesh
(
    UStaticMesh * InMesh,
    int32 LODIndex,
    int32 SectionIndex,
    TArray< FVector > & Vertices,
    TArray< int32 > & Triangles,
    TArray< FVector > & Normals,
    TArray< FVector2D > & UVs,
    TArray< FProcMeshTangent > & Tangents
)

Remarks

Grab geometry data from a StaticMesh asset.

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