Redigera

Dela via


MatrixAnimationUsingKeyFrames.GetCurrentValueCore Method

Definition

Calculates the current output value of this MatrixAnimationUsingKeyFrames.

protected:
 override System::Windows::Media::Matrix GetCurrentValueCore(System::Windows::Media::Matrix defaultOriginValue, System::Windows::Media::Matrix defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override sealed System.Windows.Media.Matrix GetCurrentValueCore (System.Windows.Media.Matrix defaultOriginValue, System.Windows.Media.Matrix defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : System.Windows.Media.Matrix * System.Windows.Media.Matrix * System.Windows.Media.Animation.AnimationClock -> System.Windows.Media.Matrix
Protected Overrides NotOverridable Function GetCurrentValueCore (defaultOriginValue As Matrix, defaultDestinationValue As Matrix, animationClock As AnimationClock) As Matrix

Parameters

defaultOriginValue
Matrix

The suggested origin value, used if the animation does not have its own explicitly set start value.

defaultDestinationValue
Matrix

The suggested destination value, used if the animation does not have its own explicitly set end value.

animationClock
AnimationClock

An AnimationClock that generates the CurrentTime or CurrentProgress used by the host animation.

Returns

The calculated value of the property, as determined by the current instance.

Remarks

If the defaultOriginValue is the first in the composition chain, this value will be the snapshot value (if one is available) or the base property value; otherwise this value will be the value returned by the previous animation in the chain with an AnimationClock that is not Stopped.

The defaultDestinationValue is the base value if the animation is in the first composition layer of animations on a property; otherwise the value is the output value from the previous composition layer of animations for the property.

Applies to

See also