Class PaperTileSet
A tile set is a collection of tiles pulled from a texture that can be used to fill out a tile map.
Inherited Members
Namespace: UE4.Paper2D
Assembly: UE4DotNet.dll
Syntax
public class PaperTileSet : UObject
Remarks
@see UPaperTileMap, UPaperTileMapComponent
Properties
| Improve this Doc View SourceAdditionalSourceTextures
Additional source textures for other slots
Declaration
public ObjectArrayField<Texture> AdditionalSourceTextures { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<Texture> |
AllocatedHeight
Allocated height of the per-tile data
Declaration
public int AllocatedHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
AllocatedWidth
Allocated width of the per-tile data
Declaration
public int AllocatedWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BackgroundColor
The background color displayed in the tile set viewer
Declaration
public LinearColor BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
LinearColor |
BorderMargin
The amount of padding around the border of the tile sheet (in pixels)
Declaration
public IntMargin BorderMargin { get; }
Property Value
Type | Description |
---|---|
IntMargin |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static PaperTileSet DefaultObject { get; }
Property Value
Type | Description |
---|---|
PaperTileSet |
DrawingOffset
The drawing offset for tiles from this set (in pixels)
Declaration
public IntPoint DrawingOffset { get; }
Property Value
Type | Description |
---|---|
IntPoint |
HeightInTiles
Cached height of this tile set (in tiles)
Declaration
public int HeightInTiles { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PerTileSpacing
The amount of padding between tiles in the tile sheet (in pixels)
Declaration
public IntPoint PerTileSpacing { get; }
Property Value
Type | Description |
---|---|
IntPoint |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
TileSheet
The tile sheet texture associated with this tile set
Declaration
public Texture2D TileSheet { get; }
Property Value
Type | Description |
---|---|
Texture2D |
TileSize
The width and height of a single tile (in pixels)
Declaration
public IntPoint TileSize { get; }
Property Value
Type | Description |
---|---|
IntPoint |
WidthInTiles
Cached width of this tile set (in tiles)
Declaration
public int WidthInTiles { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static PaperTileSet New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
PaperTileSet |
Operators
| Improve this Doc View SourceImplicit(IntPtr to PaperTileSet)
Convert from IntPtr to UObject
Declaration
public static implicit operator PaperTileSet(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
PaperTileSet |