Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## RailFenceGraphicsSet :: struct

Used for graphics by RailPrototype.

## Properties

- default
- sorted

segment_count | :: uint8 | Must be 2 or 4.
Must be 2 or 4.
back_fence_render_layer optional | :: RenderLayer |
front_fence_render_layer optional | :: RenderLayer |
back_fence_render_layer_secondary optional | :: RenderLayer |
front_fence_render_layer_secondary optional | :: RenderLayer |
side_A | :: RailFencePictureSet |
side_B | :: RailFencePictureSet |

segment_count | :: uint8 | Must be 2 or 4.
Must be 2 or 4.
side_A | :: RailFencePictureSet |
side_B | :: RailFencePictureSet |
back_fence_render_layer optional | :: RenderLayer |
back_fence_render_layer_secondary optional | :: RenderLayer |
front_fence_render_layer optional | :: RenderLayer |
front_fence_render_layer_secondary optional | :: RenderLayer |

## Properties

### segment_count :: uint8

Must be 2 or 4.

### back_fence_render_layer :: RenderLayer optional

Default: `"elevated-lower-object"`

### front_fence_render_layer :: RenderLayer optional

Default: `"elevated-higher-object"`

### back_fence_render_layer_secondary :: RenderLayer optional

Default: `"elevated-lower-object"`

### front_fence_render_layer_secondary :: RenderLayer optional

Default: `"elevated-higher-object"`

### side_A :: RailFencePictureSet

### side_B :: RailFencePictureSet

Type used in

- RailPrototype::fence_pictures