Vector3D.Addition Operator (Vector3D, Vector3D)


Adds two Vector3D structures and returns the result as a Vector3D structure.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static Vector3D operator +(
	Vector3D vector1,
	Vector3D vector2


Type: System.Windows.Media.Media3D.Vector3D

The first Vector3D structure to add.

Type: System.Windows.Media.Media3D.Vector3D

The second Vector3D structure to add.

Return Value

Type: System.Windows.Media.Media3D.Vector3D

The sum of vector1 and vector2.

Legacy Code Example

The following example shows how to use the overloaded addition operator to add two Vector3D structures.

Code snippet is not found. Confirm that the code snippet name 'vector3dsample' is correct.

.NET Framework
Available since 3.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft