PAPER2UPaperTerrainComponent::GenerateCollisionDataFromPolygon

Choose your operating system:

Windows

macOS

Linux

References

Module

Paper2D

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTerrainComponent.h

Include

#include "PaperTerrainComponent.h"

Syntax

void GenerateCollisionDataFromPolygon
(
    const TArray< FVector2D > & SplinePolyVertices2D,
    const TArray< float > & TerrainOffsets,
    const TArray< FVector2D > & TriangulatedPolygonVertices
)