FTileSetFromTiled

Windows
MacOS
Linux

References

Module

PaperTiledImporter

Header

/Engine/Plugins/2D/Paper2D/Source/PaperTiledImporter/Classes/PaperTiledImporterFactory.h

Include

#include "PaperTiledImporterFactory.h"

Syntax

struct FTileSetFromTiled

Variables

Name Description

Public variable

bool

 

bRemoveTransparentColor

Should we chroma-key remove certain pixels, making them transparent?

Public variable

int32

 

FirstGID

Public variable

int32

 

ImageHeight

Public variable

FString

 

ImagePath

Source image path.

Public variable

FColor

 

ImageTransparentColor

The color to remove if bRemoveTransparentColor is true.

Public variable

int32

 

ImageWidth

Source image dimensions.

Public variable

int32

 

Margin

The spacing to ignore around the outer edge of the source image (in pixels)

Public variable

FString

 

Name

Public variable

TMap< int32, FT...

 

PerTileData

Per-tile info (terrain membership, collision objects, properties, etc...)

Public variable

TArray< FTiledS...

 

Properties

Arbitrary user specified Key-Value pairs.

Public variable

int32

 

Spacing

The spacing between each tile in the source image (in pixels)

Public variable

TArray< FTiledT...

 

TerrainTypes

Terrain types.

Public variable

int32

 

TileHeight

Public variable

int32

 

TileOffsetX

Offset used when drawing tiles from this tile set.

Public variable

int32

 

TileOffsetY

Public variable

int32

 

TileWidth

Constructors

Name Description

Public function

FTileSetFromTiled()

Functions

Name Description

Public function Const

bool

 

IsValid()

Public function

void

 

ParseTileSetFromJSON

(
    TSharedPtr< FJsonObject > Tree,
    const FString& NameForErrors,
    bool bSilent
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss