UKismetProceduralMeshLibrary::ConvertQuadToTriangles

Add a quad, specified by four indices, to a triangle index buffer as two triangles.

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 ConvertQuadToTriangles
(
    TArray< int32 > & Triangles,
    int32 Vert0,
    int32 Vert1,
    int32 Vert2,
    int32 Vert3
)

Remarks

Add a quad, specified by four indices, to a triangle index buffer as two triangles.

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