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


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

IAGKeyframe.Interpolate Method

Interpolates the values of an object property for a time between this keyframe and the next (time is in [0,1]).

[Visual Basic .NET]
Public Sub Interpolate ( _
    ByVal pTrack As IAGAnimationTrack, _
    ByVal pContainer As IAGAnimationContainer, _
    ByVal pObject As Object, _
    ByVal propertyIndex As Integer, _
    ByVal time As Double, _
    ByVal pNextKeyframe As IAGKeyframe, _
    ByVal pPrevKeyframe As IAGKeyframe, _
    ByVal pAfterNextKeyframe As IAGKeyframe _
)
[C#]
public void Interpolate (
    IAGAnimationTrack pTrack,
    IAGAnimationContainer pContainer,
    object pObject,
    int propertyIndex,
    double time,
    IAGKeyframe pNextKeyframe,
    IAGKeyframe pPrevKeyframe,
    IAGKeyframe pAfterNextKeyframe
);
[C++]
HRESULT Interpolate(
  IAGAnimationTrack* pTrack,
  IAGAnimationContainer* pContainer,
  VARIANT pObject,
  long propertyIndex,
  double time,
  IAGKeyframe* pNextKeyframe,
  IAGKeyframe* pPrevKeyframe,
  IAGKeyframe* pAfterNextKeyframe
);
[C++]
Parameters
pTrack [in]

pTrack is a parameter of type IAGAnimationTrack* pContainer [in]
pContainer is a parameter of type IAGAnimationContainer* pObject [in]
pObject is a parameter of type VARIANT propertyIndex [in]
propertyIndex is a parameter of type long time [in]
time is a parameter of type double pNextKeyframe [in]
pNextKeyframe is a parameter of type IAGKeyframe* pPrevKeyframe [in]
pPrevKeyframe is a parameter of type IAGKeyframe* pAfterNextKeyframe [in]
pAfterNextKeyframe is a parameter of type IAGKeyframe*

Product Availability

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

See Also

IAGKeyframe Interface