Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds two vectors.
Syntax
'Declaration
Public Shared Sub Add ( _
ref value1 As Vector4, _
ref value2 As Vector4, _
out result As Vector4 _
)
public static void Add (
ref Vector4 value1,
ref Vector4 value2,
out Vector4 result
)
public:
static void Add(
ref Vector4 value1,
ref Vector4 value2,
out Vector4 result
)
Parameters
- value1
Type: Vector4
Source vector. - value2
Type: Vector4
Source vector. - result
Type: Vector4
[OutAttribute] Sum of the source vectors.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone