unreal.PaperTileSet
¶
- class unreal.PaperTileSet(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
Object
A tile set is a collection of tiles pulled from a texture that can be used to fill out a tile map. see: UPaperTileMap, UPaperTileMapComponent
C++ Source:
Plugin: Paper2D
Module: Paper2D
File: PaperTileSet.h
Editor Properties: (see get_editor_property/set_editor_property)
additional_source_textures
(Array[Texture]): [Read-Write] Additional Source Textures: Additional source textures for other slotsbackground_color
(LinearColor): [Read-Write] Background Color: The background color displayed in the tile set viewerborder_margin
(IntMargin): [Read-Write] Border Margin: The amount of padding around the border of the tile sheet (in pixels)drawing_offset
(IntPoint): [Read-Write] Drawing Offset: The drawing offset for tiles from this set (in pixels)per_tile_data
(Array[PaperTileMetadata]): [Read-Write] Per Tile Data: Per-tile informationper_tile_spacing
(IntPoint): [Read-Write] Per Tile Spacing: The amount of padding between tiles in the tile sheet (in pixels)tile_sheet
(Texture2D): [Read-Write] Tile Sheet: The tile sheet texture associated with this tile settile_size
(IntPoint): [Read-Write] Tile Size: The width and height of a single tile (in pixels)
- property border_margin: IntMargin¶
[Read-Only] Border Margin: The amount of padding around the border of the tile sheet (in pixels)
- Type:
- property drawing_offset: IntPoint¶
[Read-Only] Drawing Offset: The drawing offset for tiles from this set (in pixels)
- Type:
(IntPoint)
- property per_tile_spacing: IntPoint¶
[Read-Only] Per Tile Spacing: The amount of padding between tiles in the tile sheet (in pixels)
- Type:
(IntPoint)