Types/AnimatedVector
Revision as of 17:51, 16 August 2023 by BilkaBot (talk | contribs) (Protected "Types/AnimatedVector": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/AnimatedVector.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Used by Prototype/FluidTurret.
Mandatory properties
rotations
Type: Types/table of Types/table
An array of tables with the following key/value pairs:
- frames - array of Types/vector - Mandatory. Sizes of all
frames
arrays must be the same. - render_layer - Types/RenderLayer - Optional.
Optional properties
render_layer
Type: Types/RenderLayer
Default render layer for the rotations.
direction_shift
Type: Types/table
Table with the following optional key/value pairs:
- north - Types/vector
- east - Types/vector
- south - Types/vector
- west - Types/vector