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

# Factorio Prototype Docs Version 2.0.77

# TileLightPictures - Prototype Docs

## TileLightPictures :: struct

Inherits from TileSpriteLayout

## Properties

- default
- sorted

size | :: uint32 | Only powers of 2 from 1 to 128 can be used. [...]
Only powers of 2 from 1 to 128 can be used. [...]

Inherited from TileSpriteLayout

picture | :: FileName |
scale optional | :: float |
x optional | :: SpriteSizeType | Horizontal position of the sprite in the source file in pixels.
Horizontal position of the sprite in the source file in pixels.
y optional | :: SpriteSizeType | Vertical position of the sprite in the source file in pixels.
Vertical position of the sprite in the source file in pixels.
line_length optional | :: uint8 | Once the specified number of pictures is loaded, other pictures are loaded on other line. [...]
Once the specified number of pictures is loaded, other pictures are loaded on other line. [...]
count optional | :: uint8 | Frame count.
Frame count.

size | :: uint32 | Only powers of 2 from 1 to 128 can be used. [...]
Only powers of 2 from 1 to 128 can be used. [...]

Inherited from TileSpriteLayout

picture | :: FileName |
count optional | :: uint8 | Frame count.
Frame count.
line_length optional | :: uint8 | Once the specified number of pictures is loaded, other pictures are loaded on other line. [...]
Once the specified number of pictures is loaded, other pictures are loaded on other line. [...]
scale optional | :: float |
x optional | :: SpriteSizeType | Horizontal position of the sprite in the source file in pixels.
Horizontal position of the sprite in the source file in pixels.
y optional | :: SpriteSizeType | Vertical position of the sprite in the source file in pixels.
Vertical position of the sprite in the source file in pixels.

## Properties

### size :: uint32

Only powers of 2 from 1 to 128 can be used. Square size of the tile arrangement this sprite is used for. Used to calculate the `width` and `height` of the sprite which cannot be set directly. (width or height) = size * 32 / scale.

Type used in

- TileTransitionsVariants::light