Export (0) Print
Expand All

Vector3DKeyFrame.InterpolateValue Method

Returns the interpolated value of a specific key frame at the progress increment provided.

Namespace: System.Windows.Media.Animation
Assembly: PresentationCore (in presentationcore.dll)

public Vector3D InterpolateValue (
	Vector3D baseValue,
	double keyFrameProgress
)
public Vector3D InterpolateValue (
	Vector3D baseValue, 
	double keyFrameProgress
)
public function InterpolateValue (
	baseValue : Vector3D, 
	keyFrameProgress : double
) : Vector3D
You cannot use methods in XAML.

Parameters

baseValue

The value to animate from.

keyFrameProgress

A value between 0.0 and 1.0, inclusive, that specifies the percentage of time that has elapsed for this key frame.

Return Value

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

Exception typeCondition

ArgumentOutOfRangeException

Occurs if keyFrameProgress is not between 0.0 and 1.0, inclusive.

The base value is typically the initial value of the property being animated or the Value of the previous key frame.

Most implementations will return the value of baseValue when keyFrameProgress is 0.0.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft