Click or drag to resize
Accord.NET (logo)

Vector3Multiply Method (Vector3, Single)

Multiplies coordinates of the specified vector by the specified factor.

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

Parameters

vector
Type: Accord.MathVector3
Vector to multiply coordinates of.
factor
Type: SystemSingle
Factor to multiple coordinates of the specified vector by.

Return Value

Type: Vector3
Returns new vector with all coordinates multiplied by the specified factor.
See Also