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: 2024.1.1.0 (2024.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