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