Vector2Multiply Method (Vector2, 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 public static void Multiply(
ref Vector2 v,
double s,
out Vector2 result
)
Parameters
- v
- Type: NeoAxisVector2
The vector to scale. - s
- Type: SystemDouble
The scalar value. - result
- Type: NeoAxisVector2
When the method completes, contains the scaled vector.
See Also