Navigation
API > API/Plugins > API/Plugins/PaperTiledImporter
References
| Module | PaperTiledImporter |
| Header | /Engine/Plugins/2D/Paper2D/Source/PaperTiledImporter/Classes/PaperTiledImporterFactory.h |
| Include | #include "PaperTiledImporterFactory.h" |
Syntax
struct FTileSetFromTiled
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRemoveTransparentColor | Should we chroma-key remove certain pixels, making them transparent? | |
| int32 | FirstGID | ||
| int32 | ImageHeight | ||
| FString | ImagePath | Source image path. | |
| FColor | ImageTransparentColor | The color to remove if bRemoveTransparentColor is true. | |
| int32 | ImageWidth | Source image dimensions. | |
| int32 | Margin | The spacing to ignore around the outer edge of the source image (in pixels) | |
| FString | Name | ||
| TMap< int32, FTiledTileInfo > | PerTileData | Per-tile info (terrain membership, collision objects, properties, etc...) | |
| TArray< FTiledStringPair > | Properties | Arbitrary user specified Key-Value pairs. | |
| int32 | Spacing | The spacing between each tile in the source image (in pixels) | |
| TArray< FTiledTerrain > | TerrainTypes | Terrain types. | |
| int32 | TileHeight | ||
| int32 | TileOffsetX | Offset used when drawing tiles from this tile set. | |
| int32 | TileOffsetY | ||
| int32 | TileWidth |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValid () |
||
| void | ParseTileSetFromJSON
(
TSharedPtr< FJsonObject > Tree, |