Microsoft.Xna.Framework.Vector2.Min C# (CSharp) Method

Min() public static method

Returns a vector that contains the lowest value from each matching pair of components.
public static Min ( Vector2 &value1, Vector2 &value2, Vector2 &result ) : void
value1 Vector2 Source vector.
value2 Vector2 Source vector.
result Vector2 [OutAttribute] The minimized vector.
return void
        public static void Min(ref Vector2 value1, ref Vector2 value2, out Vector2 result)
        {
            result.X = ((value1.X < value2.X) ? value1.X : value2.X);
            result.Y = ((value1.Y < value2.Y) ? value1.Y : value2.Y);
        }
        /// <summary>Returns a vector that contains the highest value from each matching pair of components.</summary>

Same methods

Vector2::Min ( Vector2 value1, Vector2 value2 ) : Vector2