AGI STK Objects 11 Send comments on this topic.
IAgAnimation Interface





Description

Provides methods to control scenario animation.

Public Methods

Public Method Faster Increase the speed of the animation.
Public Method Pause Pause the animation.
Public Method PlayBackward Animate backward.
Public Method PlayForward Animate forward.
Public Method Rewind Stop and reset the animation.
Public Method Slower Decrease the speed of the animation.
Public Method StepBackward Reverse the animation one step backward.
Public Method StepForward Advance the animation one step forward.

Public Properties

Public Property AnimationOptions Animation options.
Public Property CurrentTime Current animation time. In Epoch seconds.
Public Property HighSpeed Controls the animation speed.
Public Property Mode Animation mode.
Public Property Step Get animation time step.

Example

Change animation mode
[MATLAB] Copy Code
% IAgStkObjectRoot root: STK Object Model Root 
scenario = root.CurrentScenario; 
root.AnimationOptions = 'eAniOptionStop'; 
root.Mode = 'eAniXRealtime'; 
scenario.Animation.AnimStepValue = 1;   % second 
scenario.Animation.RefreshDelta = .03;  %second 
 
 
Reset the scenario time
[MATLAB] Copy Code
% IAgStkObjectRoot root: STK Object Model Root 
root.Rewind; 
 
 

CoClasses that Implement IAgAnimation

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1