Vector3DAnimation 构造函数

定义

初始化 Vector3DAnimation 类的新实例。

重载

Vector3DAnimation()

初始化 Vector3DAnimation 类的新实例。

Vector3DAnimation(Vector3D, Duration)

用指定的目标值和 Duration 初始化 Vector3DAnimation 类的新实例。

Vector3DAnimation(Vector3D, Duration, FillBehavior)

初始化 Vector3DAnimation 类的新实例,该类在指定的持续时间内将动画处理至指定的值,并具有指定的填充行为。 动画的起始值是正在进行动画处理的属性的基值或来自另一个动画的输出。

Vector3DAnimation(Vector3D, Vector3D, Duration)

初始化 Vector3DAnimation 类的新实例,其在指定的持续时间内从指定的起始值到指定的目标值之间进行绘制动画。

Vector3DAnimation(Vector3D, Vector3D, Duration, FillBehavior)

初始化 Vector3DAnimation 类的新实例,该类在指定的持续时间内从指定的起始值到指定的目标值之间进行动画处理,并具有指定的填充行为。

Vector3DAnimation()

初始化 Vector3DAnimation 类的新实例。

public:
 Vector3DAnimation();
public Vector3DAnimation ();
Public Sub New ()

注解

Vector3Danimation 创建时,所有属性都设置为其默认值。

适用于

Vector3DAnimation(Vector3D, Duration)

用指定的目标值和 Duration 初始化 Vector3DAnimation 类的新实例。

public:
 Vector3DAnimation(System::Windows::Media::Media3D::Vector3D toValue, System::Windows::Duration duration);
public Vector3DAnimation (System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.Vector3DAnimation : System.Windows.Media.Media3D.Vector3D * System.Windows.Duration -> System.Windows.Media.Animation.Vector3DAnimation
Public Sub New (toValue As Vector3D, duration As Duration)

参数

toValue
Vector3D

此动画的结束值。

duration
Duration

新动画的 Duration

适用于

Vector3DAnimation(Vector3D, Duration, FillBehavior)

初始化 Vector3DAnimation 类的新实例,该类在指定的持续时间内将动画处理至指定的值,并具有指定的填充行为。 动画的起始值是正在进行动画处理的属性的基值或来自另一个动画的输出。

public:
 Vector3DAnimation(System::Windows::Media::Media3D::Vector3D toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public Vector3DAnimation (System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.Vector3DAnimation : System.Windows.Media.Media3D.Vector3D * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.Vector3DAnimation
Public Sub New (toValue As Vector3D, duration As Duration, fillBehavior As FillBehavior)

参数

toValue
Vector3D

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

fillBehavior
FillBehavior

指定动画不处于活动状态时的行为。

适用于

Vector3DAnimation(Vector3D, Vector3D, Duration)

初始化 Vector3DAnimation 类的新实例,其在指定的持续时间内从指定的起始值到指定的目标值之间进行绘制动画。

public:
 Vector3DAnimation(System::Windows::Media::Media3D::Vector3D fromValue, System::Windows::Media::Media3D::Vector3D toValue, System::Windows::Duration duration);
public Vector3DAnimation (System.Windows.Media.Media3D.Vector3D fromValue, System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.Vector3DAnimation : System.Windows.Media.Media3D.Vector3D * System.Windows.Media.Media3D.Vector3D * System.Windows.Duration -> System.Windows.Media.Animation.Vector3DAnimation
Public Sub New (fromValue As Vector3D, toValue As Vector3D, duration As Duration)

参数

fromValue
Vector3D

动画的起始值。

toValue
Vector3D

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

适用于

Vector3DAnimation(Vector3D, Vector3D, Duration, FillBehavior)

初始化 Vector3DAnimation 类的新实例,该类在指定的持续时间内从指定的起始值到指定的目标值之间进行动画处理,并具有指定的填充行为。

public:
 Vector3DAnimation(System::Windows::Media::Media3D::Vector3D fromValue, System::Windows::Media::Media3D::Vector3D toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public Vector3DAnimation (System.Windows.Media.Media3D.Vector3D fromValue, System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.Vector3DAnimation : System.Windows.Media.Media3D.Vector3D * System.Windows.Media.Media3D.Vector3D * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.Vector3DAnimation
Public Sub New (fromValue As Vector3D, toValue As Vector3D, duration As Duration, fillBehavior As FillBehavior)

参数

fromValue
Vector3D

动画的起始值。

toValue
Vector3D

动画的目标值。

duration
Duration

动画从头到尾播放一次所花的时间长度。 有关更多信息,请参见 Duration 属性。

fillBehavior
FillBehavior

指定动画不处于活动状态时的行为。

适用于