Navigation
API > API/Plugins > API/Plugins/PaperTiledImporter
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UFactory
- UPaperTiledImporterFactory
References
| Module | PaperTiledImporter |
| Header | /Engine/Plugins/2D/Paper2D/Source/PaperTiledImporter/Classes/PaperTiledImporterFactory.h |
| Include | #include "PaperTiledImporterFactory.h" |
Syntax
UCLASS&40;&41;
class UPaperTiledImporterFactory :
public UFactory,
public FReimportHandler
Remarks
Imports a tile map (and associated textures & tile sets) exported from Tiled (http://www.mapeditor.org/)
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPaperTiledImporterFactory
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ConvertTileSets
(
FTileMapFromTiled& GlobalInfo, |
||
| UObject * | CreateNewAsset
(
UClass* AssetClass, |
||
| void | FinalizeTileMap
(
FTileMapFromTiled& GlobalInfo, |
||
| UTexture2D * | ImportTexture
(
const FString& SourceFilename, |
||
| void | ParseGlobalInfoFromJSON
(
TSharedPtr< FJsonObject > Tree, |
||
| TSharedPtr< FJsonObject > |
Overridden from UFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | FactoryCanImport
(
const FString& Filename |
Whether the specified file can be imported by this factory. | |
| UObject * | FactoryCreateText
(
UClass* InClass, |
Create a new object by importing it from a text buffer. | |
| FText | GetToolTip () |
Returns the tooltip text description of this factory |
Overridden from FReimportHandler
| Type | Name | Description | |
|---|---|---|---|
| bool | CanReimport
(
UObject* Obj, |
Check to see if the handler is capable of reimporting the object | |
| int32 | GetPriority () |
Get the import priority for this handler. | |
| EReimportResult::Type | Attempt to reimport the specified object from its source | ||
| void | SetReimportPaths
(
UObject* Obj, |
Sets the reimport path(s) for the specified object |