| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTileSet.h |
Include |
#include "PaperTileSet.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType)
class PAPER2UPaperTileSet : public UObject
A tile set is a collection of tiles pulled from a texture that can be used to fill out a tile map.
Name | Description | |
---|---|---|
|
PAPER2UPaperTileSet ( |
Name | Description | ||
---|---|---|---|
|
AddTerrainDescription ( |
Adds a new terrain to this tile set (returns false if the maximum number of terrains has already been reached) |
|
|
DestructiveAllocateTileData |
Reallocates the PerTileData array to the specified size. |
|
|
GetAdditionalTextures() |
||
|
GetBackgroundColor() |
Returns the background color displayed in the tile set viewer. |
|
|
GetDrawingOffset() |
Returns the drawing offset for tiles from this set (in pixels) |
|
|
GetMargin() |
Returns the amount of padding around the border of the tile sheet (in pixels) |
|
|
FPaperTileMe... |
GetMutableTileMetadata ( |
Returns editable tile metadata for the specified tile index. |
|
GetNumTerrains() |
Returns the number of terrains this tile set has. |
|
|
GetPerTilePropertyName() |
||
|
GetPerTileSpacing() |
Returns the amount of padding between tiles in the tile sheet (in pixels) |
|
|
FPaperTileSe... |
GetTerrain ( |
|
|
GetTerrainMembership ( |
Returns the terrain type this tile is a member of, or INDEX_NONE if it is not part of a terrain. |
|
|
GetTileCount() |
Returns the number of tiles in this tile set. |
|
|
GetTileCountX() |
Returns the number of tiles per row in this tile set. |
|
|
GetTileCountY() |
Returns the number of tiles per column in this tile set. |
|
|
const FPaper... |
GetTileMetadata ( |
Returns the tile metadata for the specified tile index. |
|
GetTileSheetAuthoredSize() |
Returns the imported size of the tile sheet texture (in pixels) |
|
|
UTexture2D &... |
GetTileSheetTexture() |
Returns the tile sheet texture associated with this tile set. |
|
GetTileSize() |
Returns the size of a tile (in pixels) |
|
|
GetTileUserData ( |
Returns the user data name for the specified tile, or NAME_None if there is no user-specified data. |
|
|
GetTileUV |
Returns the texture-space coordinates of the top left corner of the specified tile index. |
|
|
GetTileUVFromTileXY ( |
Returns the texture-space coordinates of the top left corner of the tile at (TileXY.X, TileXY.Y) |
|
|
GetTileXYFromTextureUV |
Converts the texture-space coordinates into tile coordinates. |
|
|
ReallocateAndCopyTileData() |
Reallocates the per-tile data to match the current (WidthInTiles, HeightInTiles) size, copying over what it can. |
|
|
SetBackgroundColor ( |
Returns the background color displayed in the tile set viewer. |
|
|
SetDrawingOffset ( |
Sets the drawing offset for tiles from this set (in pixels) |
|
|
SetMargin ( |
Sets the amount of padding around the border of the tile sheet (in pixels) |
|
|
SetPerTileSpacing ( |
Sets the amount of padding between tiles in the tile sheet (in pixels) |
|
|
SetTileSheetTexture ( |
Sets the tile sheet texture associated with this tile set. |
|
|
SetTileSize ( |
Sets the size of a tile (in pixels) |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
UPaperTileMap
UPaperTileMapComponent