Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# RailPieceLayers - Prototype Docs

## RailPieceLayers :: struct

Used for graphics by RailPrototype and RailRemnantsPrototype.

## Properties

- default
- sorted

metals optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
backplates optional | :: SpriteVariations | Must have same number of variations as `metals` or be empty.
Must have same number of variations as `metals` or be empty.
ties optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
stone_path optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
stone_path_background optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
segment_visualisation_middle optional | :: Sprite |
water_reflection optional | :: Sprite |
underwater_structure optional | :: Sprite |
shadow_subtract_mask optional | :: Sprite |
shadow_mask optional | :: Sprite |

backplates optional | :: SpriteVariations | Must have same number of variations as `metals` or be empty.
Must have same number of variations as `metals` or be empty.
metals optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
segment_visualisation_middle optional | :: Sprite |
shadow_mask optional | :: Sprite |
shadow_subtract_mask optional | :: Sprite |
stone_path optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
stone_path_background optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
ties optional | :: SpriteVariations | May not have more than 16 variations.
May not have more than 16 variations.
underwater_structure optional | :: Sprite |
water_reflection optional | :: Sprite |

## Properties

### metals :: SpriteVariations optional

May not have more than 16 variations.

### backplates :: SpriteVariations optional

Must have same number of variations as `metals` or be empty.

### ties :: SpriteVariations optional

May not have more than 16 variations.

### stone_path :: SpriteVariations optional

May not have more than 16 variations.

### stone_path_background :: SpriteVariations optional

May not have more than 16 variations.

### segment_visualisation_middle :: Sprite optional

### water_reflection :: Sprite optional

### underwater_structure :: Sprite optional

### shadow_subtract_mask :: Sprite optional

### shadow_mask :: Sprite optional

Type used in

- RailPictureSet::north
- RailPictureSet::northeast
- RailPictureSet::east
- RailPictureSet::southeast
- RailPictureSet::south
- RailPictureSet::southwest
- RailPictureSet::west
- RailPictureSet::northwest