Navigation
API > API/Plugins > API/Plugins/Paper2D
Information about a single tile in a tile set.
| Name | FPaperTileMetadata |
| Type | struct |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTileSet.h |
| Include Path | #include "PaperTileSet.h" |
Syntax
USTRUCT (BlueprintType , Meta=(ShowOnlyInnerProperties))
struct FPaperTileMetadata
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPaperTileMetadata() |
PaperTileSet.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CollisionData | FSpriteGeometryCollection | Collision data for the tile. | PaperTileSet.h |
|
| TerrainMembership | uint8 | Indexes into the Terrains array of the owning tile set, in counterclockwise order starting from top-left 0xFF indicates no membership. | PaperTileSet.h | |
| UserDataName | FName | A tag that can be used for grouping and categorizing (consider using it as the index into a UDataTable asset). | PaperTileSet.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasCollision() |
Does this tile have collision information? | PaperTileSet.h | |
bool HasMetaData() |
Does this tile have user-specified metadata? | PaperTileSet.h |