Rotation3DAnimationBase.GetCurrentValueCore 方法

定义

计算一个值,该值表示由主机动画确定的属性的当前值。

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

参数

defaultOriginValue
Rotation3D

如果动画没有其自己的显式设置起始值,则使用建议的原点值。

defaultDestinationValue
Rotation3D

如果动画没有其自己的显式设置结束值,则使用建议的目标值。

animationClock
AnimationClock

一个 AnimationClock 生成 CurrentTimeCurrentProgress 由主机动画使用。

返回

由当前动画确定的属性的计算值。

注解

defaultOriginValue如果它是合成链中的第一个值,则此值将是快照值(如果可用)或基本属性值;否则此值将是链AnimationClock中上一个动画返回的值,并且不是Stopped

defaultDestinationValue如果动画位于属性的第一个动画合成层中,则为基值;否则,该值是属性上一个动画合成层的输出值。

适用于