Click or drag to resize

Vector2Multiply Operator (Double, Vector2)

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 *(
	double s,
	Vector2 v
)

Parameters

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

Return Value

Type: Vector2
The scaled vector.
See Also