Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/PaperTiledImporter/Classes/PaperTiledImporterFactory.h |
Include |
#include "PaperTiledImporterFactory.h" |
struct FTiledObject
Name | Description | ||
---|---|---|---|
|
bVisible |
Is the shape currently visible? |
|
|
double |
Height |
|
|
ID |
ID of the shape (always 0 for per-tile collision shapes) |
|
|
Name |
Arbitrary user-specified name. |
|
|
Points |
Points for polygon/polyline shapes, relative to (X,Y), which seems to always be the first point in the polygon Note: Only used when TiledObjectType is Polygon or Polyline |
|
|
Properties |
Arbitrary user specified Key-Value pairs. |
|
|
double |
RotationDegrees |
Rotation (in degrees) Note: Always 0 for Polyline and Polygon Note: Includes winding (can be < 0 or > 360) |
|
TiledObjectType |
The type of the object. |
|
|
TileGID |
The tile GID for placed tiles Note: Only used when TiledObjectType is PlacedTile |
|
|
UserType |
Arbitrary user-specified type. |
|
|
double |
Width |
Local-space width/height of the shape (Ellipse, Box) Note: Set to (0,0) for Polygon, Polyline, PlacedTile |
|
double |
X |
Position of the shape: Ellipse or Box: The center PlacedTile: Bottom left Polygon or Polyline: Position of first vertex (not their center, the Tiled editor always bakes down rotations for them!) |
|
double |
Y |
Name | Description | |
---|---|---|
|
FTiledObject() |
Name | Description | ||
---|---|---|---|
|
AddToSpriteGeometryCollection ( |
||
|
ParseFromJSON ( |
||
|
ParsePointArray |