Vector4.Addition Method (Microsoft.Xna.Framework)

Adds two vectors.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.270)
  • C#
  • VB
  • F#
public static Vector4 Addition(
	Vector4 value1, 
	Vector4 value2
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value1
Type: Microsoft.Xna.Framework.Vector4
Source Vector4 on the left of the add sign.
value2
Type: Microsoft.Xna.Framework.Vector4
Source Vector4 on the right of the add sign.

Return Value

Type: Microsoft.Xna.Framework.Vector4
Sum of the vectors.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web