Vector3DAnimation Constructors

Definition

Initializes a new instance of the Vector3DAnimation class.

Overloads

Vector3DAnimation()

Initializes a new instance of the Vector3DAnimation class.

Vector3DAnimation(Vector3D, Duration)

Initializes a new instance of the Vector3DAnimation class with the specified destination value and Duration.

Vector3DAnimation(Vector3D, Duration, FillBehavior)

Initializes a new instance of the Vector3DAnimation 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.

Vector3DAnimation(Vector3D, Vector3D, Duration)

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

Vector3DAnimation(Vector3D, Vector3D, Duration, FillBehavior)

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

Vector3DAnimation()

Initializes a new instance of the Vector3DAnimation class.

C#
public Vector3DAnimation();

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Vector3DAnimation(Vector3D, Duration)

Initializes a new instance of the Vector3DAnimation class with the specified destination value and Duration.

C#
public Vector3DAnimation(System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration);

Parameters

toValue
Vector3D

The ending value of this animation.

duration
Duration

The new animation's Duration.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Vector3DAnimation(Vector3D, Duration, FillBehavior)

Initializes a new instance of the Vector3DAnimation 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.

C#
public Vector3DAnimation(System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);

Parameters

toValue
Vector3D

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Vector3DAnimation(Vector3D, Vector3D, Duration)

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

C#
public Vector3DAnimation(System.Windows.Media.Media3D.Vector3D fromValue, System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration);

Parameters

fromValue
Vector3D

The starting value of the animation.

toValue
Vector3D

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Vector3DAnimation(Vector3D, Vector3D, Duration, FillBehavior)

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

C#
public Vector3DAnimation(System.Windows.Media.Media3D.Vector3D fromValue, System.Windows.Media.Media3D.Vector3D toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);

Parameters

fromValue
Vector3D

The starting value of the animation.

toValue
Vector3D

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10