<li><ahref="../../../Microsoft/Xna/Framework/TitleContainer.html"title="class in Microsoft.Xna.Framework"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../Microsoft/Xna/Framework/Vector3.html"title="class in Microsoft.Xna.Framework"><spanclass="strong">Next Class</span></a></li>
<li><ahref="../../../System/ValueType.html"title="class in System">System.ValueType</a></li>
<li>
<ulclass="inheritance">
<li>Microsoft.Xna.Framework.Vector2</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><ahref="../../../System/IEquatable.html"title="interface in System">IEquatable</a><<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>></dd>
</dl>
<hr>
<br>
<pre>public final class <spanclass="strong">Vector2</span>
extends <ahref="../../../System/ValueType.html"title="class in System">ValueType</a>
implements <ahref="../../../System/IEquatable.html"title="interface in System">IEquatable</a><<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>></pre>
<divclass="block">Defines a vector with two components.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<divclass="block">Returns a Vector2 with both of its components set to one.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<divclass="block">Returns the unit vector for the x-axis.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<divclass="block">Gets or sets the y-component of the vector.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Add(Microsoft.Xna.Framework.Vector2)">Add</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</code>
<divclass="block">Adds the specified Vector2 to the current Vector2.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Add(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Add</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Adds two vectors.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Add(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Add</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Adds two vectors.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Barycentric(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, float)">Barycentric</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
float amount1,
float amount2)</code>
<divclass="block">Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Barycentric(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, float, Microsoft.Xna.Framework.Vector2)">Barycentric</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
float amount1,
float amount2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#CatmullRom(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">CatmullRom</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value4,
float amount)</code>
<divclass="block">Performs a Catmull-Rom interpolation using the specified positions.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#CatmullRom(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">CatmullRom</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value4,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Performs a Catmull-Rom interpolation using the specified positions.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Clamp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Clamp</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> min,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> max)</code>
<divclass="block">Restricts a value to be within a specified range.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Clamp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Clamp</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> min,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> max,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Restricts a value to be within a specified range.</div>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Distance</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Calculates the distance between two vectors.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Distance</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float result)</code>
<divclass="block">Calculates the distance between two vectors.</div>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">DistanceSquared</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Calculates the distance between two vectors squared.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">DistanceSquared</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float result)</code>
<divclass="block">Calculates the distance between two vectors squared.</div>
<divclass="block">Divides the current vector by a scalar value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</code>
<divclass="block">Divides the components of the current vector by the components of another vector.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, float)">Divide</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float divider)</code>
<divclass="block">Divides a vector by a scalar value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float divider,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Divides a vector by a scalar value.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Divides the components of a vector by the components of another vector.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Divides the components of a vector by the components of another vector.</div>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Dot</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Calculates the dot product of two vectors.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Dot</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float result)</code>
<divclass="block">Calculates the dot product of two vectors and writes the result to a user-specified variable.</div>
<divclass="block">Returns a value that indicates whether the current instance is equal to a specified object.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Equals(Microsoft.Xna.Framework.Vector2)">Equals</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</code>
<divclass="block">Determines whether the specified Object is equal to the Vector2.</div>
<divclass="block">Gets the hash code of the vector object.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Hermite(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Hermite</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent2,
float amount)</code>
<divclass="block">Performs a Hermite spline interpolation.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Hermite(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Hermite</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent2,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Performs a Hermite spline interpolation.</div>
<divclass="block">Calculates the length of the vector squared.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Lerp</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount)</code>
<divclass="block">Performs a linear interpolation between two vectors.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Lerp</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Performs a linear interpolation between two vectors.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Max(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Max</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Returns a vector that contains the highest value from each matching pair of components.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Max(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Max</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Returns a vector that contains the highest value from each matching pair of components.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Min(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Min</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Returns a vector that contains the lowest value from each matching pair of components.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Min(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Min</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Returns a vector that contains the lowest value from each matching pair of components.</div>
<divclass="block">Multiplies the current vector by a scalar value.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</code>
<divclass="block">Multiplies the components of the current vector by the components of another vector.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, float)">Multiply</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float scaleFactor)</code>
<divclass="block">Multiplies a vector by a scalar value.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float scaleFactor,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Multiplies a vector by a scalar value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Multiplies the components of two vectors by each other.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Multiplies the components of two vectors by each other.</div>
<divclass="block">Returns the current vector pointing in the opposite direction.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Negate(Microsoft.Xna.Framework.Vector2)">Negate</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value)</code>
<divclass="block">Returns a vector pointing in the opposite direction.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Negate(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Negate</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Returns a vector pointing in the opposite direction.</div>
<divclass="block">Turns the current vector into a unit vector.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Normalize(Microsoft.Xna.Framework.Vector2)">Normalize</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value)</code>
<divclass="block">Creates a unit vector from the specified vector.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Normalize(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Normalize</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Creates a unit vector from the specified vector, writing the result to a user-specified variable.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Reflect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Reflect</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> vector,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal)</code>
<divclass="block">Determines the reflect vector of the given vector and normal.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Reflect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Reflect</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> vector,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Determines the reflect vector of the given vector and normal.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#SmoothStep(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">SmoothStep</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount)</code>
<divclass="block">Interpolates between two values using a cubic equation.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#SmoothStep(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">SmoothStep</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Interpolates between two values using a cubic equation.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Subtract(Microsoft.Xna.Framework.Vector2)">Subtract</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</code>
<divclass="block">Subtracts a vector from the current vector.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Subtract(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Subtract</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code>
<divclass="block">Subtracts a vector from a vector.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Subtract(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Subtract</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Subtracts a vector from a vector.</div>
<divclass="block">Retrieves a string representation of the current object.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[], int, int)">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
int sourceIndex,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray,
int destinationIndex,
int length)</code>
<divclass="block">Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2[], int, int)">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
int sourceIndex,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray,
int destinationIndex,
int length)</code>
<divclass="block">Transforms a specified range in an array of Vector2s by a specified Quaternion and places the results in a specified range in a destination array.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[])">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</code>
<divclass="block">Transforms an array of Vector2s by a specified Matrix.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2[])">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</code>
<divclass="block">Transforms an array of Vector2s by a specified Quaternion.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> position,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code>
<divclass="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2)">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> position,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion)">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</code>
<divclass="block">Transforms a single Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2)">Transform</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[], int, int)">TransformNormal</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
int sourceIndex,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray,
int destinationIndex,
int length)</code>
<divclass="block">Transforms a specified range in an array of Vector2 vector normals by a specified Matrix and places the results in a specified range in a destination array.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[])">TransformNormal</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</code>
<divclass="block">Transforms an array of Vector2 vector normals by a specified Matrix.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)">TransformNormal</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code>
<divclass="block">Transforms a 2D vector normal by a matrix.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2)">TransformNormal</a></strong>(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</code>
<divclass="block">Transforms a vector normal by a matrix.</div>
<divclass="block">Initializes a new instance of Vector2.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - Initial value for the x-component of the vector.</dd><dd><code>y</code> - Initial value for the y-component of the vector.</dd></dl>
</li>
</ul>
<aname="Vector2(float)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Vector2</h4>
<pre>public Vector2(float value)</pre>
<divclass="block">Initializes a new instance of Vector2.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Value to initialize both components to.</dd></dl>
</li>
</ul>
<aname="Vector2()">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>Vector2</h4>
<pre>public Vector2()</pre>
<divclass="block">Initializes a new instance of Vector2.</div>
<pre>public void Add(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre>
<divclass="block">Adds the specified Vector2 to the current Vector2.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Add(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<pre>public static void Add(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Adds two vectors.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] Sum of the source vectors.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Barycentric(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
float amount1,
float amount2)</pre>
<divclass="block">Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - A Vector2 containing the 2D Cartesian coordinates of vertex 1 of the triangle.</dd><dd><code>value2</code> - A Vector2 containing the 2D Cartesian coordinates of vertex 2 of the triangle.</dd><dd><code>value3</code> - A Vector2 containing the 2D Cartesian coordinates of vertex 3 of the triangle.</dd><dd><code>amount1</code> - Barycentric coordinate b2, which expresses the weighting factor toward vertex 2 (specified in value2).</dd><dd><code>amount2</code> - Barycentric coordinate b3, which expresses the weighting factor toward vertex 3 (specified in value3).</dd></dl>
<pre>public static void Barycentric(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
float amount1,
float amount2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Returns a Vector2 containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - A Vector2 containing the 2D Cartesian coordinates of vertex 1 of the triangle.</dd><dd><code>value2</code> - A Vector2 containing the 2D Cartesian coordinates of vertex 2 of the triangle.</dd><dd><code>value3</code> - A Vector2 containing the 2D Cartesian coordinates of vertex 3 of the triangle.</dd><dd><code>amount1</code> - Barycentric coordinate b2, which expresses the weighting factor toward vertex 2 (specified in value2).</dd><dd><code>amount2</code> - Barycentric coordinate b3, which expresses the weighting factor toward vertex 3 (specified in value3).</dd><dd><code>result</code> - [OutAttribute] The 2D Cartesian coordinates of the specified point are placed in this Vector2 on exit.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> CatmullRom(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value4,
float amount)</pre>
<divclass="block">Performs a Catmull-Rom interpolation using the specified positions.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - The first position in the interpolation.</dd><dd><code>value2</code> - The second position in the interpolation.</dd><dd><code>value3</code> - The third position in the interpolation.</dd><dd><code>value4</code> - The fourth position in the interpolation.</dd><dd><code>amount</code> - Weighting factor.</dd></dl>
<pre>public static void CatmullRom(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value3,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value4,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Performs a Catmull-Rom interpolation using the specified positions.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - The first position in the interpolation.</dd><dd><code>value2</code> - The second position in the interpolation.</dd><dd><code>value3</code> - The third position in the interpolation.</dd><dd><code>value4</code> - The fourth position in the interpolation.</dd><dd><code>amount</code> - Weighting factor.</dd><dd><code>result</code> - [OutAttribute] A vector that is the result of the Catmull-Rom interpolation.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Clamp(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> min,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> max)</pre>
<divclass="block">Restricts a value to be within a specified range.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - The value to clamp.</dd><dd><code>min</code> - The minimum value.</dd><dd><code>max</code> - The maximum value.</dd></dl>
<pre>public static void Clamp(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> min,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> max,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Restricts a value to be within a specified range.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - The value to clamp.</dd><dd><code>min</code> - The minimum value.</dd><dd><code>max</code> - The maximum value.</dd><dd><code>result</code> - [OutAttribute] The clamped value.</dd></dl>
<pre>public static float Distance(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Calculates the distance between two vectors.</div>
<pre>public static void Distance(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float result)</pre>
<divclass="block">Calculates the distance between two vectors.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The distance between the vectors.</dd></dl>
<pre>public static float DistanceSquared(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Calculates the distance between two vectors squared.</div>
<pre>public static void DistanceSquared(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float result)</pre>
<divclass="block">Calculates the distance between two vectors squared.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The distance between the vectors squared.</dd></dl>
</li>
</ul>
<aname="Divide(Microsoft.Xna.Framework.Vector2)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Divide</h4>
<pre>public void Divide(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre>
<divclass="block">Divides the components of the current vector by the components of another vector.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Divide(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Divides the components of a vector by the components of another vector.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Divide(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float divider)</pre>
<divclass="block">Divides a vector by a scalar value.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>divider</code> - The divisor.</dd></dl>
<pre>public static void Divide(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Divides the components of a vector by the components of another vector.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - The divisor.</dd><dd><code>result</code> - [OutAttribute] The result of the division.</dd></dl>
<pre>public static void Divide(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float divider,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Divides a vector by a scalar value.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>divider</code> - The divisor.</dd><dd><code>result</code> - [OutAttribute] The result of the division.</dd></dl>
<pre>public static float Dot(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Calculates the dot product of two vectors. If the two vectors are unit vectors, the dot product returns a floating point value between -1 and 1 that can be used to
determine some properties of the angle between two vectors. For example, it can show whether the vectors are orthogonal, parallel, or have an acute or obtuse
<pre>public static void Dot(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float result)</pre>
<divclass="block">Calculates the dot product of two vectors and writes the result to a user-specified variable. If the two vectors are unit vectors, the dot product returns a floating
point value between -1 and 1 that can be used to determine some properties of the angle between two vectors. For example, it can show whether the vectors are
orthogonal, parallel, or have an acute or obtuse angle between them.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The dot product of the two vectors.</dd></dl>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>obj</code> - Object to make the comparison with.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>true if the current instance is equal to the specified object; false otherwise.</dd></dl>
</li>
</ul>
<aname="Equals(Microsoft.Xna.Framework.Vector2)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Equals</h4>
<pre>public boolean Equals(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre>
<divclass="block">Determines whether the specified Object is equal to the Vector2.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../System/IEquatable.html#Equals(T)">Equals</a></code> in interface <code><ahref="../../../System/IEquatable.html"title="interface in System">IEquatable</a><<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>other</code> - The Object to compare with the current Vector2.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>true if the current object is equal to the other parameter; otherwise, false.</dd></dl>
</li>
</ul>
<aname="hashCode()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>hashCode</h4>
<pre>public int hashCode()</pre>
<divclass="block">Gets the hash code of the vector object.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Hermite(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent2,
float amount)</pre>
<divclass="block">Performs a Hermite spline interpolation.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source position vector.</dd><dd><code>tangent1</code> - Source tangent vector.</dd><dd><code>value2</code> - Source position vector.</dd><dd><code>tangent2</code> - Source tangent vector.</dd><dd><code>amount</code> - Weighting factor.</dd></dl>
<pre>public static void Hermite(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> tangent2,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Performs a Hermite spline interpolation.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source position vector.</dd><dd><code>tangent1</code> - Source tangent vector.</dd><dd><code>value2</code> - Source position vector.</dd><dd><code>tangent2</code> - Source tangent vector.</dd><dd><code>amount</code> - Weighting factor.</dd><dd><code>result</code> - [OutAttribute] The result of the Hermite spline interpolation.</dd></dl>
</li>
</ul>
<aname="Length()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Length</h4>
<pre>public float Length()</pre>
<divclass="block">Calculates the length of the vector.</div>
</li>
</ul>
<aname="LengthSquared()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>LengthSquared</h4>
<pre>public float LengthSquared()</pre>
<divclass="block">Calculates the length of the vector squared.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Lerp(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount)</pre>
<divclass="block">Performs a linear interpolation between two vectors.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>amount</code> - Value between 0 and 1 indicating the weight of value2.</dd></dl>
<pre>public static void Lerp(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Performs a linear interpolation between two vectors.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>amount</code> - Value between 0 and 1 indicating the weight of value2.</dd><dd><code>result</code> - [OutAttribute] The result of the interpolation.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Max(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Returns a vector that contains the highest value from each matching pair of components.</div>
<pre>public static void Max(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Returns a vector that contains the highest value from each matching pair of components.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Min(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Returns a vector that contains the lowest value from each matching pair of components.</div>
<pre>public static void Min(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Returns a vector that contains the lowest value from each matching pair of components.</div>
<pre>public void Multiply(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre>
<divclass="block">Multiplies the components of the current vector by the components of another vector.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Multiply(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Multiplies the components of two vectors by each other.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Multiply(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float scaleFactor)</pre>
<divclass="block">Multiplies a vector by a scalar value.</div>
<pre>public static void Multiply(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Multiplies the components of two vectors by each other.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The result of the multiplication.</dd></dl>
<pre>public static void Multiply(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
float scaleFactor,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Multiplies a vector by a scalar value.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>scaleFactor</code> - Scalar value.</dd><dd><code>result</code> - [OutAttribute] The result of the multiplication.</dd></dl>
</li>
</ul>
<aname="Negate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Negate</h4>
<pre>public void Negate()</pre>
<divclass="block">Returns the current vector pointing in the opposite direction.</div>
</li>
</ul>
<aname="Negate(Microsoft.Xna.Framework.Vector2)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Negate</h4>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Negate(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value)</pre>
<divclass="block">Returns a vector pointing in the opposite direction.</div>
<pre>public static void Negate(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Returns a vector pointing in the opposite direction.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] Vector pointing in the opposite direction.</dd></dl>
</li>
</ul>
<aname="Normalize()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>Normalize</h4>
<pre>public void Normalize()</pre>
<divclass="block">Turns the current vector into a unit vector. The result is a vector one unit in length pointing in the same direction as the original vector.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Normalize(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value)</pre>
<divclass="block">Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.</div>
<pre>public static void Normalize(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Creates a unit vector from the specified vector, writing the result to a user-specified variable. The result is a vector one unit in length pointing in the same direction
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Reflect(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> vector,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal)</pre>
<divclass="block">Determines the reflect vector of the given vector and normal.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>vector</code> - Source vector.</dd><dd><code>normal</code> - Normal of vector.</dd></dl>
<pre>public static void Reflect(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> vector,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Determines the reflect vector of the given vector and normal.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>vector</code> - Source vector.</dd><dd><code>normal</code> - Normal of vector.</dd><dd><code>result</code> - [OutAttribute] The created reflect vector.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> SmoothStep(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount)</pre>
<divclass="block">Interpolates between two values using a cubic equation.</div>
<pre>public static void SmoothStep(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
float amount,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Interpolates between two values using a cubic equation.</div>
<pre>public void Subtract(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre>
<divclass="block">Subtracts a vector from the current vector.</div>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Subtract(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre>
<divclass="block">Subtracts a vector from a vector.</div>
<pre>public static void Subtract(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value1,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value2,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Subtracts a vector from a vector.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The result of the subtraction.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> position,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre>
<divclass="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>position</code> - The source vector.</dd><dd><code>matrix</code> - The transformation matrix.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</pre>
<divclass="block">Transforms a single Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - The vector to rotate.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd></dl>
<pre>public static void Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> position,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>position</code> - The source vector.</dd><dd><code>matrix</code> - The transformation matrix.</dd><dd><code>result</code> - [OutAttribute] The Vector2 resulting from the transformation.</dd></dl>
<pre>public static void Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</pre>
<divclass="block">Transforms an array of Vector2s by a specified Matrix.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of Vector2s to transform.</dd><dd><code>matrix</code> - The transform Matrix to apply.</dd><dd><code>destinationArray</code> - An existing array into which the transformed Vector2s are written.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../System/ArgumentNullException.html"title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null.</dd>
<dd><code><ahref="../../../System/ArgumentException.html"title="class in System">ArgumentException</a></code> - destinationArray size is too small.</dd></dl>
<pre>public static void Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</pre>
<divclass="block">Transforms an array of Vector2s by a specified Quaternion.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of Vector2s to transform.</dd><dd><code>rotation</code> - The transform Matrix to use.</dd><dd><code>destinationArray</code> - An existing array into which the transformed Vector2s are written.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../System/ArgumentNullException.html"title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null.</dd>
<dd><code><ahref="../../../System/ArgumentException.html"title="class in System">ArgumentException</a></code> - destinationArray size is too small.</dd></dl>
<pre>public static void Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> value,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>value</code> - The vector to rotate.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>result</code> - [OutAttribute] An existing Vector2 filled in with the result of the rotation.</dd></dl>
<pre>public static void Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
int sourceIndex,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray,
int destinationIndex,
int length)</pre>
<divclass="block">Transforms a specified range in an array of Vector2s by a specified Matrix and places the results in a specified range in a destination array.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The source array.</dd><dd><code>sourceIndex</code> - The index of the first Vector2 to transform in the source array.</dd><dd><code>matrix</code> - The Matrix to transform by.</dd><dd><code>destinationArray</code> - The destination array into which the resulting Vector2s will be written.</dd><dd><code>destinationIndex</code> - The index of the position in the destination array where the first result Vector2 should be written.</dd><dd><code>length</code> - The number of Vector2s to be transformed.</dd></dl>
<pre>public static void Transform(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
int sourceIndex,
<ahref="../../../Microsoft/Xna/Framework/Quaternion.html"title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray,
int destinationIndex,
int length)</pre>
<divclass="block">Transforms a specified range in an array of Vector2s by a specified Quaternion and places the results in a specified range in a destination array.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The source array.</dd><dd><code>sourceIndex</code> - The index of the first Vector2 to transform in the source array.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>destinationArray</code> - The destination array into which the resulting Vector2s are written.</dd><dd><code>destinationIndex</code> - The index of the position in the destination array where the first result Vector2 should be written.</dd><dd><code>length</code> - The number of Vector2s to be transformed.</dd></dl>
<pre>public static <ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> TransformNormal(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre>
<divclass="block">Transforms a 2D vector normal by a matrix.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>normal</code> - The source vector.</dd><dd><code>matrix</code> - The transformation matrix.</dd></dl>
<pre>public static void TransformNormal(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> normal,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre>
<divclass="block">Transforms a vector normal by a matrix.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>normal</code> - The source vector.</dd><dd><code>matrix</code> - The transformation matrix.</dd><dd><code>result</code> - [OutAttribute] The Vector2 resulting from the transformation.</dd></dl>
<pre>public static void TransformNormal(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</pre>
<divclass="block">Transforms an array of Vector2 vector normals by a specified Matrix.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of vector normals to transform.</dd><dd><code>matrix</code> - The transform Matrix to apply.</dd><dd><code>destinationArray</code> - An existing array into which the transformed vector normals are written.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../System/ArgumentNullException.html"title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null.</dd>
<dd><code><ahref="../../../System/ArgumentException.html"title="class in System">ArgumentException</a></code> - destinationArray size is too small.</dd></dl>
<pre>public static void TransformNormal(<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray,
int sourceIndex,
<ahref="../../../Microsoft/Xna/Framework/Matrix.html"title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
<ahref="../../../Microsoft/Xna/Framework/Vector2.html"title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray,
int destinationIndex,
int length)</pre>
<divclass="block">Transforms a specified range in an array of Vector2 vector normals by a specified Matrix and places the results in a specified range in a destination array.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The source array.</dd><dd><code>sourceIndex</code> - The index of the first Vector2 to transform in the source array.</dd><dd><code>matrix</code> - The Matrix to apply.</dd><dd><code>destinationArray</code> - The destination array into which the resulting Vector2s are written.</dd><dd><code>destinationIndex</code> - The index of the position in the destination array where the first result Vector2 should be written.</dd><dd><code>length</code> - The number of vector normals to be transformed.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../System/ArgumentNullException.html"title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null</dd></dl>
<li><ahref="../../../Microsoft/Xna/Framework/TitleContainer.html"title="class in Microsoft.Xna.Framework"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../Microsoft/Xna/Framework/Vector3.html"title="class in Microsoft.Xna.Framework"><spanclass="strong">Next Class</span></a></li>