Types/RenderLayer: Difference between revisions
Jump to navigation
Jump to search
(Prototype property type usage) |
(Updated styling of prototype doc migration note) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div class="stub"><p>'''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] | |||
</p><p>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].</p></div> | |||
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. | ||
Line 21: | Line 27: | ||
* transport-belt | * transport-belt | ||
* transport-belt-endings | * transport-belt-endings | ||
* floor-mechanics-under-corpse | |||
* corpse | * corpse | ||
* floor-mechanics | * floor-mechanics | ||
Line 42: | Line 49: | ||
* light-effect | * light-effect | ||
* selection-box | * selection-box | ||
* higher-selection-box | |||
* collision-selection-box | * collision-selection-box | ||
* arrow | * arrow |
Latest revision as of 10:42, 21 September 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
Prototype properties that use this type
- Prototype/ArtilleryFlare : render_layer
- Prototype/ArtilleryFlare : render_layer_when_on_ground
- Prototype/ArtilleryTurret : base_picture_render_layer
- Prototype/Car : render_layer
- Prototype/CharacterCorpse : render_layer
- Prototype/Corpse : animation_overlay_final_render_layer
- Prototype/Corpse : animation_overlay_render_layer
- Prototype/Corpse : animation_render_layer
- Prototype/Corpse : final_render_layer
- Prototype/Corpse : ground_patch_render_layer
- Prototype/Corpse : splash_render_layer
- Prototype/Decorative : render_layer
- Prototype/ElectricEnergyInterface : render_layer
- Prototype/EntityWithHealth : integration_patch_render_layer
- Prototype/Explosion : render_layer
- Prototype/FireFlame : initial_render_layer
- Prototype/FireFlame : render_layer
- Prototype/FireFlame : secondary_render_layer
- Prototype/LinkedBelt : structure_render_layer
- Prototype/Loader1x1 : structure_render_layer
- Prototype/Loader1x2 : structure_render_layer
- Prototype/MiningDrill : base_render_layer
- Prototype/Particle : render_layer
- Prototype/Particle : render_layer_when_on_ground
- Prototype/SimpleEntity : render_layer
- Prototype/SimpleEntityWithOwner : render_layer
- Prototype/Smoke : render_layer
- Prototype/TrivialSmoke : render_layer
- Prototype/Turret : base_picture_render_layer
- Prototype/Turret : gun_animation_render_layer
- Prototype/Unit : render_layer