|
OBJHANDLE | target |
| Stores the handle to the target the animation should be tracking.
|
|
|
virtual bool | sendMe () |
| Used to determine whether the event should be sent by the event generator. 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.
|
|
Notifies a tracking animation to start tracking, and which target
Triggers AnimationStartedEvent or AnimationFailedEvent in response, and after that TrackingStatusAnimationEvent() for every frame the animation is running. Indistinguishable from StartAnimationEvent if aimed at a non-tracking animation.
- See also
- AnimationStartedEvent
-
AnimationFailedEvent
-
TrackingAnimationStatusEvent
-
EventHandler.h
StartTrackingAnimationEvent::StartTrackingAnimationEvent |
( |
string |
animationid, |
|
|
double |
_speed, |
|
|
OBJHANDLE |
trackingtarget |
|
) |
| |
|
inline |
- Parameters
-
animationid | Identifier of the tracking animation the event is aimed at. |
_speed | The speed at which the animation should track |
trackingtarget | Handle of the object to track |
- Note
- The speed of a tracking animation does not determine its direction. The animation will choose the direction itself.
OBJHANDLE StartTrackingAnimationEvent::GetTrackingTarget |
( |
| ) |
|
|
inline |
- Returns
- Handle to the object the animation should track
The documentation for this class was generated from the following file:
- C:/Orbiter2016/Orbitersdk/IMS2/StartTrackingAnimationEvent.h