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


IKeyframe.Interpolate Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IKeyframe.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 pScene As IScene, _
    ByVal pObject As Object, _
    ByVal propertyIndex As Integer, _
    ByVal time As Double, _
    ByVal pNextKeyframe As IKeyframe, _
    ByVal pPrevKeyframe As IKeyframe, _
    ByVal pAfterNextKeyframe As IKeyframe _
)
[C#]
public void Interpolate (
    IScene pScene,
    object pObject,
    int propertyIndex,
    double time,
    IKeyframe pNextKeyframe,
    IKeyframe pPrevKeyframe,
    IKeyframe pAfterNextKeyframe
);
[C++]
HRESULT Interpolate(
  IScene* pScene,
  VARIANT pObject,
  long propertyIndex,
  double time,
  IKeyframe* pNextKeyframe,
  IKeyframe* pPrevKeyframe,
  IKeyframe* pAfterNextKeyframe
);
[C++]

Parameters pScene [in]
pScene is a parameter of type IScene 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 IKeyframe pPrevKeyframe [in]
pPrevKeyframe is a parameter of type IKeyframe pAfterNextKeyframe [in]
pAfterNextKeyframe is a parameter of type IKeyframe

Product Availability

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

See Also

IKeyframe Interface