unreal.PaperTileSet
¶
- class unreal.PaperTileSet(outer=None, name='None')¶
Bases:
unreal.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 for other slotsbackground_color
(LinearColor): [Read-Write] The background color displayed in the tile set viewerborder_margin
(IntMargin): [Read-Write] The amount of padding around the border of the tile sheet (in pixels)drawing_offset
(IntPoint): [Read-Write] The drawing offset for tiles from this set (in pixels)per_tile_data
(Array(PaperTileMetadata)): [Read-Write] Per-tile informationper_tile_spacing
(IntPoint): [Read-Write] The amount of padding between tiles in the tile sheet (in pixels)tile_sheet
(Texture2D): [Read-Write] The tile sheet texture associated with this tile settile_size
(IntPoint): [Read-Write] The width and height of a single tile (in pixels)
- property border_margin¶
[Read-Only] The amount of padding around the border of the tile sheet (in pixels)
- Type
- property drawing_offset¶
[Read-Only] The drawing offset for tiles from this set (in pixels)
- Type
(IntPoint)
- property per_tile_spacing¶
[Read-Only] The amount of padding between tiles in the tile sheet (in pixels)
- Type
(IntPoint)
- property tile_sheet¶
[Read-Only] The tile sheet texture associated with this tile set
- Type