Notifies when an animation could not be started.
More...
|
double | speed |
| An abstract property for how fast the animation should play, and in which direction. More...
|
|
string | animid |
| Stores the identifier of the animation this event is aimed at.
|
|
unsigned int | delay |
| How many calls of ProcessEvents() on the event generator the event should be delayed.
|
|
EventHandler * | caller |
| Stores the EventHandler at which the event originated.
|
|
EVENTTYPE | eventtype |
| The type of this event.
|
|
EVENTPIPE | pipe |
| The pipe the event travels in (unless it was relayed). This is set by the EventHandler itself.
|
|
|
virtual bool | sendMe () |
| Used to determine whether the event should be sent by the event generator. More...
|
|
Notifies when an animation could not be started.
Triggered once on start by IMS_Animation_Base Usually triggered because of unfulfilled dependencies of an animation If starting the animation succeeded, a AnimationStartedEvent will be triggered instead.
- See also
- AnimationStartedEvent
-
EventHandler.h
AnimationFailedEvent::AnimationFailedEvent |
( |
string |
animationid, |
|
|
double |
_speed |
|
) |
| |
|
inline |
- Parameters
-
animationid | The id of the animation that failed |
_speed | The speed and direction the animation was trying to start in |
double AnimationFailedEvent::GetSpeed |
( |
| ) |
|
|
inline |
- Returns
- The speed and direction the failed animation tried to start with
double AnimationFailedEvent::speed |
|
protected |
An abstract property for how fast the animation should play, and in which direction.
The value determines how fast in relation to the defined duration of the animation in the config file (1 == the exact duration) The sign determines the direction (> 0: normal, < 0 : in reverse). For 0, see note
- Note
- A speed of 0 does not mean stop! A speed of 0 means default speed (1) forward by default, except if the animation is already at the end, then it means in reverse. Basically, it means "start the animation in the most likely
direction at tis default speed"
The documentation for this class was generated from the following file:
- C:/Orbiter2016/Orbitersdk/IMS2/AnimationFailedEvent.h