
| Inherits from AnimationParameters « SpriteParameters « SpriteSource |
| variation_count | :: uint32 | |
| filenames optional | :: array[FileName] | |
| lines_per_file optional | :: uint32 | Mandatory if |
Mandatory if | ||
| run_mode optional | :: AnimationRunMode | |
| frame_count optional | :: uint32 | Can't be |
Can't be | ||
| line_length[overridden] optional | :: uint32 | |
| animation_speed optional | :: float | Modifier of the animation playing speed, the default of |
Modifier of the animation playing speed, the default of | ||
| max_advance optional | :: float | Maximum amount of frames the animation can move forward in one update. [...] |
Maximum amount of frames the animation can move forward in one update. [...] | ||
| repeat_count optional | :: uint8 | How many times to repeat the animation to complete an animation cycle. [...] |
How many times to repeat the animation to complete an animation cycle. [...] | ||
| dice optional | :: uint8 | Number of slices this is sliced into when using the "optimized atlas packing" option. [...] |
Number of slices this is sliced into when using the "optimized atlas packing" option. [...] | ||
| dice_x optional | :: uint8 | Same as |
Same as | ||
| dice_y optional | :: uint8 | Same as |
Same as | ||
| frame_sequence optional | :: AnimationFrameSequence | |
| priority optional | :: SpritePriority | |
| flags optional | :: SpriteFlags | |
| shift optional | :: Vector | The shift in tiles. [...] |
The shift in tiles. [...] | ||
| rotate_shift optional | :: boolean | Whether to rotate the |
Whether to rotate the | ||
| apply_special_effect optional | :: boolean | |
| scale optional | :: double | Values other than |
Values other than | ||
| draw_as_shadow optional | :: boolean | Only one of |
Only one of | ||
| draw_as_glow optional | :: boolean | Only one of |
Only one of | ||
| draw_as_light optional | :: boolean | Only one of |
Only one of | ||
| occludes_light optional | :: boolean | Loaded only if |
Loaded only if | ||
| mipmap_count optional | :: uint8 | Only loaded if this is an icon, that is it has the flag |
Only loaded if this is an icon, that is it has the flag | ||
| apply_runtime_tint optional | :: boolean | |
| tint_as_overlay optional | :: boolean | |
| invert_colors optional | :: boolean | |
| tint optional | :: Color | |
| blend_mode optional | :: BlendMode | |
| generate_sdf optional | :: boolean | This property is only used by sprites used in UtilitySprites that have the |
This property is only used by sprites used in UtilitySprites that have the | ||
| surface optional | :: SpriteUsageSurfaceHint | Provides hint to sprite atlas system, so it can try to put sprites that are intended to be used at the same locations to the same sprite atlas. |
Provides hint to sprite atlas system, so it can try to put sprites that are intended to be used at the same locations to the same sprite atlas. | ||
| usage optional | :: SpriteUsageHint | Provides hint to sprite atlas system, so it can pack sprites that are related to each other to the same sprite atlas. |
Provides hint to sprite atlas system, so it can pack sprites that are related to each other to the same sprite atlas. | ||
| filename[overridden] optional | :: FileName | Only loaded, and mandatory if |
Only loaded, and mandatory if | ||
| size optional | :: SpriteSizeType or {SpriteSizeType, SpriteSizeType} | The width and height of the sprite. [...] |
The width and height of the sprite. [...] | ||
| width optional | :: SpriteSizeType | Mandatory if |
Mandatory if | ||
| height optional | :: SpriteSizeType | Mandatory if |
Mandatory if | ||
| 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. | ||
| position optional | :: {SpriteSizeType, SpriteSizeType} | Loaded only when |
Loaded only when | ||
| load_in_minimal_mode optional | :: boolean | Minimal mode is entered when mod loading fails. [...] |
Minimal mode is entered when mod loading fails. [...] | ||
| premul_alpha optional | :: boolean | Whether alpha should be pre-multiplied. |
Whether alpha should be pre-multiplied. | ||
| allow_forced_downscale optional | :: boolean | If |
If | ||