Share via


Point3DAnimation.GetCurrentValueCore(Point3D, Point3D, AnimationClock) 方法

定义

计算一个值,该值表示正在进行动画处理的属性的当前值,并由 Point3DAnimation 确定。

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

参数

defaultOriginValue
Point3D

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

defaultDestinationValue
Point3D

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

animationClock
AnimationClock

一个 AnimationClock,用来生成动画所使用的 CurrentTimeCurrentProgress

返回

计算得出的属性值,该值由当前动画确定。

注解

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

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

适用于