PAPER2UPaperTileMapComponent::GetTilePolygon

Returns the polygon for the specified tile (will be 4 or 6 vertices as a rectangle, diamond, or hexagon)

Windows
MacOS
Linux

References

Module

Paper2D

Header

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

Include

#include "PaperTileMapComponent.h"

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="Sprite")
void GetTilePolygon
(
    int32 TileX,
    int32 TileY,
    TArray< FVector > & Points,
    int32 LayerIndex,
    bool bWorldSpace
) const

Remarks

Returns the polygon for the specified tile (will be 4 or 6 vertices as a rectangle, diamond, or hexagon)

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