public static Multiply ( Vector2 &value1, float scaleFactor, Vector2 &result ) : void | ||
value1 | Vector2 | Source vector. |
scaleFactor | float | Scalar value. |
result | Vector2 | [OutAttribute] The result of the multiplication. |
return | void |
public static void Multiply(ref Vector2 value1, float scaleFactor, out Vector2 result)
{
result.X = value1.X * scaleFactor;
result.Y = value1.Y * scaleFactor;
}
/// <summary>Divides the components of a vector by the components of another vector.</summary>