Editar

Partilhar via


Rotation3DAnimation Constructors

Definition

Initializes a new instance of the Rotation3DAnimation class.

Overloads

Rotation3DAnimation()

Initializes a new instance of the Rotation3DAnimation class.

Rotation3DAnimation(Rotation3D, Duration)

Initializes a new instance of the Rotation3DAnimation class that animates to the specified value over the specified duration. The starting value for the animation is the base value of the property being animated or the output from another animation.

Rotation3DAnimation(Rotation3D, Duration, FillBehavior)

Initializes a new instance of the Rotation3DAnimation class that animates to the specified value over the specified duration and has the specified fill behavior. The starting value for the animation is the base value of the property being animated or the output from another animation.

Rotation3DAnimation(Rotation3D, Rotation3D, Duration)

Initializes a new instance of the Rotation3DAnimation class that animates from the specified starting value to the specified destination value over the specified duration.

Rotation3DAnimation(Rotation3D, Rotation3D, Duration, FillBehavior)

Initializes a new instance of the Rotation3DAnimation class that animates from the specified starting value to the specified destination value over the specified duration and has the specified fill behavior.

Rotation3DAnimation()

Initializes a new instance of the Rotation3DAnimation class.

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

Remarks

The Rotation3Danimation is created with all properties set to their default value.

Applies to

Rotation3DAnimation(Rotation3D, Duration)

Initializes a new instance of the Rotation3DAnimation class that animates to the specified value over the specified duration. The starting value for the animation is the base value of the property being animated or the output from another animation.

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

Parameters

toValue
Rotation3D

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

Applies to

Rotation3DAnimation(Rotation3D, Duration, FillBehavior)

Initializes a new instance of the Rotation3DAnimation class that animates to the specified value over the specified duration and has the specified fill behavior. The starting value for the animation is the base value of the property being animated or the output from another animation.

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

Parameters

toValue
Rotation3D

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

fillBehavior
FillBehavior

Specifies how the animation behaves when it is not active.

Applies to

Rotation3DAnimation(Rotation3D, Rotation3D, Duration)

Initializes a new instance of the Rotation3DAnimation class that animates from the specified starting value to the specified destination value over the specified duration.

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

Parameters

fromValue
Rotation3D

The starting value of the animation.

toValue
Rotation3D

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

Applies to

Rotation3DAnimation(Rotation3D, Rotation3D, Duration, FillBehavior)

Initializes a new instance of the Rotation3DAnimation class that animates from the specified starting value to the specified destination value over the specified duration and has the specified fill behavior.

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

Parameters

fromValue
Rotation3D

The starting value of the animation.

toValue
Rotation3D

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

fillBehavior
FillBehavior

Specifies how the animation behaves when it is not active.

Applies to