SpriteSequence QML Type
Draws a sprite animation More...
|Import Statement:||import QtQuick 2.7|
- jumpTo(string sprite)
For full details, see the Sprite Animations overview.
The name of the Sprite which the animation should move to.
Sprite states have defined durations and transitions between them, setting goalState will cause it to disregard any path weightings (including 0) and head down the path which will reach the goalState quickest (fewest animations). It will pass through intermediate states on that path, and animate them for their duration.
If it is possible to return to the goalState from the starting point of the goalState it will continue to do so until goalState is set to "" or an unreachable state.
If true, interpolation will occur between sprite frames to make the animation appear smoother.
Default is true.
sprites : list<Sprite>
The sprite or sprites to draw. Sprites will be scaled to the size of this item.
This function causes the SpriteSequence to jump to the specified sprite immediately, intermediate sprites are not played. The sprite argument is the name of the sprite you wish to jump to.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.