Specifies series of sprites used to visualize different rotations of the object.
struct
Array<RotatedSprite>trueIf this property is present, all RotatedSprite definitions have to be placed as entries in the array, and they will all be loaded from there. layers may not be an empty table. Each definition in the array may also have the layers property.
If this property is present, all other properties, including those inherited from SpriteParameters, are ignored.
uint16trueOnly loaded, and mandatory if layers is not defined.
Count of direction (frames) specified.
FileNametrueOnly loaded if layers is not defined.
The path to the sprite file to use.
Array<FileName>trueOnly loaded, and mandatory if both layers and filename are not defined.
uint64trueOnly loaded if layers is not defined. Mandatory if filenames is defined.
SpriteSizeTypetrueOnly loaded if layers is not defined.
Number of slices this is sliced into when using the "optimized atlas packing" option. If you are a modder, you can just ignore this property. Example: If this is 4, the sprite will be sliced into a 4x4 grid.
SpriteSizeTypetrueOnly loaded if layers is not defined.
Same as dice above, but this specifies only how many slices there are on the x axis.
SpriteSizeTypetrueOnly loaded if layers is not defined.
Same as dice above, but this specifies only how many slices there are on the y axis.
booleantrueOnly loaded if layers is not defined.
Unused.
booleantrueOnly loaded if layers is not defined.
booleantrueOnly loaded if layers is not defined.
Used to fix the inconsistency of direction of the entity in 3d when rendered and direction on the screen (where the 45 degree angle for projection is used).
booleantrueOnly loaded if layers is not defined.
Set to true to indicate sprites in the spritesheet are in counterclockwise order.
uint32trueOnly loaded if layers is not defined.
Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having more sprites 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.
booleantrueOnly loaded if layers is not defined.
Array<RotatedSpriteFrame>trueA list of overrides and customizations for each specific frame within the rotated sprite. This can be used to adjust each individual frame's width, height, and other properties. If this property is present, then it must contain at least as many RotatedSpriteFrame as there are sprites in this RotatedSprite.