Sets the current state of an animation that is not currently running.
More...
|
|
double | state |
| | the state an animation should be set to.
|
| |
|
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...
|
| |
Sets the current state of an animation that is not currently running.
- Note
- This event has NO effect on animations that are currently running, and you won't get a response in either case.
- See also
- StartAnimationEvent
-
StopAnimationEvent
-
EventHandler.h
| SetAnimationStateEvent::SetAnimationStateEvent |
( |
string |
animationid, |
|
|
double |
state |
|
) |
| |
|
inline |
- Parameters
-
| animationid | Identifier of the animation this event is aimed at |
| state | The state an animation should be set to, between 0 and 1. |
| double SetAnimationStateEvent::GetState |
( |
| ) |
|
|
inline |
- Returns
- The state the animation should be set to.
The documentation for this class was generated from the following file:
- C:/Orbiter2016/Orbitersdk/IMS2/SetAnimationStateEvent.h