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


IKeyframe Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IK > IKeyframe Interface
ArcGIS Developer Help

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

Name 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.
Write-only property PropertyValueBoolean Indicates if the property is TRUE.
Read-only property PropertyValueBoolean Indicates if the property is TRUE.
Write-only property PropertyValueDouble The value of a double-typed property.
Read-only property PropertyValueDouble The value of a double-typed property.
Read-only property PropertyValueExtent The value of an Extent-typed property.
Write-only property PropertyValueExtent The value of an Extent-typed property.
Write-only property PropertyValueInt The value of an integer typed property.
Read-only property PropertyValueInt The value of an integer typed property.
Write-only property PropertyValueLong The value of a long integer typed property.
Read-only property PropertyValueLong The value of a long integer typed property.
Read-only property PropertyValuePoint The value of a Point-typed property.
Write-only property PropertyValuePoint The value of a Point-typed property.
Read-only property PropertyValueRGBColor The value of an RGB Color-typed property.
Write-only 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).

Classes that implement IKeyframe

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