Types/RenderLayer: Difference between revisions
Jump to navigation
Jump to search
(0.18.22) |
(Migrated prototype doc to separate website) |
||
Line 1: | Line 1: | ||
'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/RenderLayer.html https://lua-api.factorio.com/latest/types/RenderLayer.html] | |||
This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums]. | |||
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. | ||
Revision as of 17:51, 16 August 2023
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/RenderLayer.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
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