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


IAnimationTrack Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

IAnimationTrack Interface

Provides access to animation tracks.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Members

Description
Read/write property ActiveProperties The combination of active properties for the track.
Read/write property AnimationType The animation type.
Read/write property ApplyToAllViewers Indicates whether to apply a camera track to all scene viewers.
Read/write property AttachedObjects The objects to which the track is attached, or null.
Read-only property AttachedObjectsCount The number of objects to which the track is attached.
Method AttachObject Attach object to the track.
Read/write property BeginTime The initial time of the track.
Method DetachAllObjects Detach all objects from the track.
Method DetachObject Detach object from the track.
Read/write property EndTime The final time of the track.
Read/write property EvenTimeStamps Indicates whether to distribute time stamps evenly in the interval 0-1.
Method FindKeyframe Finds a keyframe by name.
Method InsertKeyframe Inserts a new keyframe. If the index is -1, it is added last.
Method InterpolateObjectProperties Interpolates the state of the attached object for a time between BeginTime and Endtime.
Read/write property IsActiveProperty Indicates if an animation property is active.
Read-only property IsAttached Indicates if the given objects is attached to the track.
Read/write property IsCycle Indicates if the track is repeated periodically.
Read/write property IsEnabled Indicates if the track is enabled.
Read-only property Keyframe The keyframe with the given index in the track.
Read-only property KeyframeCount The number of keyframes defined in the track.
Method MoveKeyframe Moves the keyframe with the given index, inserting it with a different index.
Read/write property Name The name of the track.
Method RemoveAllKeyframes Removes all the keyframes.
Method RemoveKeyframe Removes the keyframe with the given index.
Method ResetAttachedObjects Reset the state of the attached objects to be ready for animation.
Method ResetTimeStamps Redistributes the time stamps in the interval [0,1].
Method RestoreObjectProperties Restores the saved properties of the attached object specified.
Method SaveObjectProperties Internally saves the properties of the attached object specified.
Method SortKeyframes Sorts the keyframes in ascending time order.

CoClasses that implement IAnimationTrack

CoClasses and Classes Description
AnimationTrack The Animation Track coclass.

Remarks

Animation tracks are conceptually containers of animation keyframes.  IAnimationTrack encapsulates properties and methods related to managing its keyframes and associating the animation track to proper objects.

.NET Samples

Animation in the GlobeControl (Code Files: Animation)