ArcObjects Library Reference (3DAnalyst)  

IKeyframe Interface

Provides access to keyframe of animated objects.

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.
Read-only property AnimationType The animation type.
Method Apply Apply to the object the active properties of the keyframe.
Method CaptureProperties Copy the properties from the object to the keyframe.
Method Interpolate Interpolates the values of an object property for a time between this keyframe and the next (time is in [0,1]).
Read/write property IsActiveProperty Indicates if an animation property is active.
Read/write property Name The name of the keyframe.
Read-only property ObjectNeedsRefresh Indicates if the object must be refreshed after interpolating its state.
Read/write property PropertyValueBoolean Indicates if the property is TRUE.
Read/write property PropertyValueDouble The value of a double-typed property.
Read/write property PropertyValueExtent The value of an Extent-typed property.
Read/write property PropertyValueInt The value of an integer typed property.
Read/write property PropertyValueLong The value of a long integer typed property.
Read/write property PropertyValuePoint The value of a Point-typed property.
Read/write property PropertyValueRGBColor The value of an RGB Color-typed property.
Method RefreshObject Recreates the object after its properties have been interpolated.
Read/write property TimeStamp The time stamp (in the interval 0-1).

CoClasses that implement IKeyframe

CoClasses and Classes Description
Bookmark3D The 3D bookmark coclass.
GlobeCameraKeyframe (esriGlobeCore) The keyframe for globe camera animation.
GlobeLayerKeyframe (esriGlobeCore) The keyframe for globe layer animation.
LayerKeyframe The ESRI LayerKeyframe coclass.
SceneKeyframe The scene keyframe coclass.

Remarks

Keyframes encapsulate some properties and behaviors of an animated object.  IKeyframe interface can be used to access those properties and methods.  Starting from ArcGIS 8.2 3D Analyst extension, three built-in objects (Camera, Layer, and Scene) can be animated by using IKeyframe, which is already implemented for all three internally and used by the animation tools on the Animation Toolbar.  Developers can animate other objects by first implementing IKeyframe interface for those objects.

.NET Samples

Animation in the GlobeControl (Code Files: Animation) |