Multiplies coordinates of the specified vector by the specified factor.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static Vector3 Multiply(
	Vector3 vector,
	float factor
)

Parameters

vector
Type: AForge.Math..::.Vector3
Vector to multiply coordinates of.
factor
Type: System..::.Single
Factor to multiple coordinates of the specified vector by.

Return Value

Returns new vector with all coordinates multiplied by the specified factor.

See Also