Types/RenderLayer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Added example)
(0.18.22)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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 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 value is specified as [[Types/string]]


The order of acceptable string values are listed from lowest to highest:
The order of acceptable values from lowest to highest:
* water-tile
* water-tile
* ground-tile
* ground-tile
Line 21: Line 21:
* transport-belt
* transport-belt
* transport-belt-endings
* transport-belt-endings
* floor-mechanics-under-corpse
* corpse
* corpse
* floor-mechanics
* floor-mechanics
Line 42: Line 43:
* light-effect
* light-effect
* selection-box
* selection-box
* higher-selection-box
* collision-selection-box
* collision-selection-box
* arrow
* arrow
* cursor
* cursor
{{Prototype property type usage|{{FULLPAGENAME}}}}

Latest revision as of 17:38, 30 April 2020

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/string

The order of acceptable values 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
  • floor-mechanics-under-corpse
  • 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
  • higher-selection-box
  • collision-selection-box
  • arrow
  • cursor

Prototype properties that use this type