Types/RenderLayer

From Official Factorio Wiki
Revision as of 21:21, 23 July 2019 by Lovely santa (talk | contribs) (Added example)
Jump to navigation Jump to search

The render layer specifies the order of the sprite when rendering, most of the objects have it hardcoded in the source, but some are configurable.

The value is specified as Types/uint8 or Types/string (for example 7 and "decals" are both valid).

The order of acceptable string values are listed from lowest to highest:

  • water-tile
  • ground-tile
  • tile-transition
  • decals
  • lower-radius-visualization
  • radius-visualization
  • transport-belt-integration
  • resource
  • building-smoke
  • decorative
  • ground-patch
  • ground-patch-higher
  • ground-patch-higher2
  • remnants
  • floor
  • transport-belt
  • transport-belt-endings
  • corpse
  • floor-mechanics
  • item
  • lower-object
  • transport-belt-circuit-connector
  • lower-object-above-shadow
  • object
  • higher-object-under
  • higher-object-above
  • item-in-inserter-hand
  • wires
  • wires-above
  • entity-info-icon
  • entity-info-icon-above
  • explosion
  • projectile
  • smoke
  • air-object
  • air-entity-info-icon
  • light-effect
  • selection-box
  • collision-selection-box
  • arrow
  • cursor