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

# Factorio Prototype Docs Version 2.0.77

# MaterialTextureParameters - Prototype Docs

## MaterialTextureParameters :: struct

Used by TilePrototype.

## Properties

- default
- sorted

count | :: uint32 | Frame count.
Frame count.
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 | :: uint32 | 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 | :: uint32 | Frame count.
Frame count.
picture | :: FileName |
line_length optional | :: uint32 | 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

### count :: uint32

Frame count.

### picture :: FileName

### scale :: float optional

Default: `1`

### x :: SpriteSizeType optional

Default: `0`

Horizontal position of the sprite in the source file in pixels.

### y :: SpriteSizeType optional

Default: `0`

Vertical position of the sprite in the source file in pixels.

### line_length :: uint32 optional

Default: `0`

Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having longer animations in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. 0 means that all the pictures are in one horizontal line.

Type used in

- TileTransitionsVariants::material_background
- TileTransitionsVariants::material_light