Click or drag to resize
Accord.NET (logo)

Vector3Addition Operator (Vector3, Single)

Adds a value to all coordinates of the specified vector.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static Vector3 operator +(
	Vector3 vector,
	float value
)
Request Example View Source

Parameters

vector
Type: Accord.MathVector3
Vector to add the specified value to.
value
Type: SystemSingle
Value to add to all coordinates of the vector.

Return Value

Type: Vector3
Returns new vector with all coordinates increased by the specified value.
See Also