Navigation
API > API/Plugins > API/Plugins/Paper2D
References
| Module | Paper2D |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTileLayer.h |
| Include | #include "PaperTileLayer.h" |
Syntax
USTRUCT&40;BlueprintType,
Meta&61;&40;HasNativeBreak&61;"&47;Script&47;Paper2D.TileMapBlueprintLibrary.BreakTile", HasNativeMake&61;"&47;Script&47;Paper2D.TileMapBlueprintLibrary.MakeTile"&41;&41;
struct FPaperTileInfo
Remarks
This is the contents of a tile map cell.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | PackedTileIndex | This is the index of the current tile within the tile set. | |
| TObjectPtr< UPaperTileSet > | TileSet | The tile set that this tile comes from. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| int32 | GetTileIndex () |
||
| bool | HasFlag
(
EPaperTileFlags Flag |
||
| bool | IsValid () |
||
| void | SetFlagsAsIndex
(
uint8 NewFlags |
||
| void | SetFlagValue
(
EPaperTileFlags Flag, |
||
| void | ToggleFlag
(
EPaperTileFlags Flag |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FPaperTileInfo& Other |
||
| bool | operator==
(
const FPaperTileInfo& Other |