Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperTileLayer.h |
Include |
#include "PaperTileLayer.h" |
UCLASS()
class PAPER2UPaperTileLayer : public UObject
This class represents a single layer in a tile map. All layers in the map must have the size dimensions.
Name | Description | ||
---|---|---|---|
|
LayerName |
Name of the layer. |
Name | Description | |
---|---|---|
|
PAPER2UPaperTileLayer ( |
Name | Description | ||
---|---|---|---|
|
AugmentBodySetup ( |
Adds collision to the specified body setup. |
|
|
ConvertToTileSetPerCell() |
||
|
DestructiveAllocateMap |
Reallocates the map. This is a destructive operation that does not copy data across! |
|
|
FPaperTileIn... |
GetCell |
Returns the tile information about the specified cell. |
|
GetLayerColor() |
Gets the layer-specific color multiplier. |
|
|
GetLayerHeight() |
Returns the height of the layer (in tiles) |
|
|
GetLayerIndex() |
Returns the index of this layer in the parent tile map. |
|
|
GetLayerWidth() |
Returns the width of the layer (in tiles) |
|
|
GetNumOccupiedCells() |
Returns the number of occupied cells in the layer. |
|
|
UPaperTileMa... |
GetTileMap() |
Returns the parent tile map. |
|
GetTileTransform ( |
Returns the transform for the given packed flag index (0..7) |
|
|
InBounds |
Returns whether the specified coordinates are in bounds for the layer. |
|
|
const FPaper... |
PRIVATE_GetAllocatedCells() |
Returns the raw pointer to the allocated cells, only for use when rendering the tile map and should never be held onto. |
|
ReallocateAndCopyMap() |
||
|
ResizeMap |
Reallocates the map. This tries to preserve contents. |
|
|
SetCell ( |
Sets the tile information about the specified cell. |
|
|
SetLayerCollides ( |
||
|
SetLayerCollisionOffset ( |
||
|
SetLayerCollisionThickness ( |
||
|
SetLayerColor ( |
Sets the layer-specific color multiplier (. |
|
|
SetShouldRenderInEditor ( |
Set whether this layer should be drawn (in the editor) |
|
|
ShouldRenderInEditor() |
Should this layer be drawn (in the editor)? |
|
|
ShouldRenderInGame() |
Should this layer be drawn (in game)? |
|
|
UsesTileSet ( |
Checks to see if this layer uses the specified tile set. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |