A container widget that rotates depending on an event. More...
Public Member Functions | |
| LiveFlipPanel () | |
| Constructor. | |
| void | Start () |
| Starts the animation. | |
| void | Stop () |
| Stops the animation. | |
| void | Stop (bool withAnimate) |
| Stops the animation. | |
Protected Member Functions | |
| override void | DisposeSelf () |
| Frees used resources. | |
| internal override void | OnTouchEvent (TouchEventCollection touchEvents) |
| Touch event handler. | |
| internal override void | OnResetState () |
| Status reset handler. | |
| override void | OnUpdate (float elapsedTime) |
| Update processing. | |
Properties | |
| int | FlipCount [get, set] |
| Obtains and sets the number of rotations. | |
| bool | TouchEnabled [get, set] |
| Obtains and sets whether to enable touch operations (drag, flick). | |
| override float | Width [get, set] |
| Obtains and sets the width. | |
| override float | Height [get, set] |
| Obtains and sets the height. | |
| Panel | FrontPanel [get, set] |
| Obtains and sets the front panel. | |
| Panel | BackPanel [get, set] |
| Obtains and sets the back panel. | |
A container widget that rotates depending on an event.
| internal override void OnTouchEvent | ( | TouchEventCollection | touchEvents | ) | [protected, virtual] |
| override void OnUpdate | ( | float | elapsedTime | ) | [protected, virtual] |
Update processing.
| elapsedTime | Elapsed time from previous update (ms) |
Reimplemented from Widget.
| void Stop | ( | bool | withAnimate | ) |
Stops the animation.
| withAnimate | Whether to execute the animation |
int FlipCount [get, set] |
Obtains and sets the number of rotations.
(Half rotation = 1)