This document is archived and information here might be outdated.  Recommended version.

IAGAnimationEnvironment Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationEnvironment Interface
ArcGIS Developer Help

IAGAnimationEnvironment Interface

Provides access to members that control the Animation Environment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Name Description
Read/write property AnimationControlsHWnd The window handle of the animation controls dialog.
Read/write property AnimationDuration The duration of the animation in seconds.
Method GetPlayInterval Gets the begin and end times of play interval.
Method GetPlayIntervalFrames Gets the begin and end frame number when playing by frames.
Read/write property IsIntervalPlay Indicates whether to play only part of the animation.
Read/write property NumberofFrames The number of frames that will be displayed in the animation.
Read/write property PlayInAllViewers Indicates if the option to play camera animations in for all viewers.
Read/write property PlayMode The play mode (once/loop, forward/reverse).
Read/write property PlayTime The current animation time during playing.
Read/write property PlayType The play type, play based on duration or number of frames).
Method PutPlayInterval Sets the begin and end times of play interval.
Method PutPlayIntervalFrames Sets the begin and end frame number when playing by frames.
Read/write property RestoreState Indicates the state of display after animation stops.
Read/write property SelectedAGAnimationType The selected animation type.
Read/write property SelectedKeyframes The indices of the selected animation keyframes.
Read/write property SelectedTracks The selected animation tracks.
Read/write property State The play or recording state.

Classes that implement IAGAnimationEnvironment

Classes Description
AGAnimationEnvironment Animation Environment for animation state and global options.
SxAnimationEnvironment (esri3DAnalyst) 3D Animation Manager Environment.


Animation environment contains settings for animation playing and recording, such as the duration and play mode of the animation.

.NET Samples

Visualizing the camera path while animating