Redigera

Dela via


Rotation3DAnimationBase.GetCurrentValueCore Method

Definition

Calculates a value that represents the current value of the property being animated, as determined by the host animation.

protected:
 abstract System::Windows::Media::Media3D::Rotation3D ^ GetCurrentValueCore(System::Windows::Media::Media3D::Rotation3D ^ defaultOriginValue, System::Windows::Media::Media3D::Rotation3D ^ defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected abstract System.Windows.Media.Media3D.Rotation3D GetCurrentValueCore (System.Windows.Media.Media3D.Rotation3D defaultOriginValue, System.Windows.Media.Media3D.Rotation3D defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
abstract member GetCurrentValueCore : System.Windows.Media.Media3D.Rotation3D * System.Windows.Media.Media3D.Rotation3D * System.Windows.Media.Animation.AnimationClock -> System.Windows.Media.Media3D.Rotation3D
Protected MustOverride Function GetCurrentValueCore (defaultOriginValue As Rotation3D, defaultDestinationValue As Rotation3D, animationClock As AnimationClock) As Rotation3D

Parameters

defaultOriginValue
Rotation3D

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

defaultDestinationValue
Rotation3D

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 animation.

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