Factorio Prototype DocsVersion 2.0.26

SpriteFlags :: array[union] Example code

An array containing the following values.

Union members

"no-crop"

The sprite won't be automatically cropped.

"not-compressed"
"always-compressed"
"mipmap"
"linear-minification"
"linear-magnification"
"linear-mip-level"
"alpha-mask"
"no-scale"
"mask"

This flag will internally set these flags: "group=none"

"icon"

This flag will internally set these flags: "no-crop", "no-scale", "mipmap", "linear-minification", "linear-magnification", "linear-mip-level", "not-compressed", "group=icon"

"gui"

This flag will internally set these flags: "no-crop", "no-scale", "mipmap", "linear-minification", "linear-magnification", "linear-mip-level", "not-compressed", "group=gui"

"gui-icon"

This flag will internally set these flags: "no-crop", "no-scale", "mipmap", "linear-minification", "linear-magnification", "not-compressed", "group=icon"

"light"

This flag will internally set these flags: "mipmap", "linear-mip-level", "linear-minification", "linear-magnification", "group=none"

"terrain"

This flag will internally set these flags: "mipmap", "linear-mip-level", "linear-minification", "no-crop", "group=terrain"

"terrain-effect-map"

This flag will internally set these flags: "mipmap", "linear-mip-level", "linear-minification", "no-crop", "terrain-effect-map" (internal group flag)

"reflection-effect-map"

This flag will internally set these flags: "mipmap", "linear-mip-level", "linear-minification", "terrain-effect-map" (internal group flag)

"shadow"
"smoke"

This flag will internally set these flags: "mipmap", "linear-minification", "linear-magnification", "group=smoke"

"decal"

This flag will internally set these flags: "group=decal"

"low-object"
"corpse-decay"
"trilinear-filtering"
"group=none"
"group=terrain"
"group=shadow"
"group=smoke"
"group=decal"
"group=low-object"
"group=gui"
"group=icon"
"group=icon-background"
"group=effect-texture"

Example

flags = { "linear-minification", "linear-magnification" }

Prototypes

Types

Defines