Click or drag to resize

Vector2Multiply Operator (Vector2, Double)

Multiplies a vector by a given scalar.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public static Vector2 operator *(
	Vector2 v,
	double s
)

Parameters

v
Type: NeoAxisVector2
The vector to scale.
s
Type: SystemDouble
The scalar value.

Return Value

Type: Vector2
The scaled vector.
See Also