Show / Hide Table of Contents

Class LDtkArtifactAssetsTileset

Stores the autogenerated tiles/sprites for tilesets.

Properties

| Improve this Doc View Source

AdditionalSprites

These sprites are slices created from tile instances or any other situations that result in a larger area selection. Not indexed; Perform a lookup by comparing this list's rectangles.

There are 8 possible sources of additional TilesetRectangle.

Instance-based possible sources of additional sprites are:

  • EntityInstance.Tile
  • EntityInstance.FieldInstances.Tile
  • Level.FieldInstances.Tile

Definition-based possible sources of additional sprites are:

  • AutoLayerRuleGroup.Icon
  • EntityDefinition.TileRect
  • EntityDefinition.UiTileRect
  • EnumValueDefinition.TileRect
  • IntGridValueDefinition.Tile
Type Description
System.Collections.Generic.IReadOnlyList<UnityEngine.Sprite>
| Improve this Doc View Source

Sprites

Indexed by tile id. Sprites can be null if all the tile's pixels were empty

Type Description
System.Collections.Generic.IReadOnlyList<UnityEngine.Sprite>
| Improve this Doc View Source

Tiles

Indexed by tile id

Type Description
System.Collections.Generic.IReadOnlyList<LDtkTilesetTile>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX