Upravit

Sdílet prostřednictvím


LinearRotation3DKeyFrame.InterpolateValueCore(Rotation3D, Double) Method

Definition

Interpolates, in a linear fashion, between the previous key frame value and the value of the current key frame, using the supplied progress increment.

protected:
 override System::Windows::Media::Media3D::Rotation3D ^ InterpolateValueCore(System::Windows::Media::Media3D::Rotation3D ^ baseValue, double keyFrameProgress);
protected override System.Windows.Media.Media3D.Rotation3D InterpolateValueCore (System.Windows.Media.Media3D.Rotation3D baseValue, double keyFrameProgress);
override this.InterpolateValueCore : System.Windows.Media.Media3D.Rotation3D * double -> System.Windows.Media.Media3D.Rotation3D
Protected Overrides Function InterpolateValueCore (baseValue As Rotation3D, keyFrameProgress As Double) As Rotation3D

Parameters

baseValue
Rotation3D

The value to animate from.

keyFrameProgress
Double

A value from 0.0 through 1.0 that specifies the percentage of time that has elapsed for this key frame.

Returns

The output value of this key frame given the specified base value and progress.

Applies to