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 FTileLayerFromTiled
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bVisible | Is the layer currently visible? | |
| FColor | Color | Color of the layer (only set for object layers, to help distinguish them) | |
| int32 | Height | ||
| ETiledLayerType | LayerType | Type of the layer. | |
| FString | Name | Name of the layer. | |
| ETiledObjectLayerDrawOrder | ObjectDrawOrder | Object draw order (only used for object layers) | |
| TArray< FTiledObject > | Objects | Placed objects (only used when LayerType is ObjectGroup) | |
| int32 | OffsetX | Offset. | |
| int32 | OffsetY | ||
| float | Opacity | Saved layer opacity (only RGB are used, A is ignored) | |
| FString | OverlayImagePath | Overlay image (only used when LayerType is ImageLayer) | |
| TArray< FTiledStringPair > | Properties | Arbitrary user specified Key-Value pairs. | |
| TArray< uint32 > | TileIndices | Array of tiles (only used when LayerType is TileLayer) | |
| int32 | Width | Width and height in tiles. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValid () |
||
| bool | ParseFromJSON
(
TSharedPtr< FJsonObject > Tree, |