<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="nl"> <head> <!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 15 12:25:34 CEST 2013 --> <title>Vector2</title> <meta name="date" content="2013-10-15"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Vector2"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Vector2.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-files/index-1.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../Microsoft/Xna/Framework/TitleContainer.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li> <li><a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?Microsoft/Xna/Framework/Vector2.html" target="_top">Frames</a></li> <li><a href="Vector2.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">Microsoft.Xna.Framework</div> <h2 title="Class Vector2" class="title">Class Vector2</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../System/ValueType.html" title="class in System">System.ValueType</a></li> <li> <ul class="inheritance"> <li>Microsoft.Xna.Framework.Vector2</li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd><a href="../../../System/IEquatable.html" title="interface in System">IEquatable</a><<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>></dd> </dl> <hr> <br> <pre>public final class <span class="strong">Vector2</span> extends <a href="../../../System/ValueType.html" title="class in System">ValueType</a> implements <a href="../../../System/IEquatable.html" title="interface in System">IEquatable</a><<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>></pre> <div class="block">Defines a vector with two components.</div> <dl><dt><span class="strong">Author:</span></dt> <dd>Halofreak1990</dd></dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#One">One</a></strong></code> <div class="block">Returns a Vector2 with both of its components set to one.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#UnitX">UnitX</a></strong></code> <div class="block">Returns the unit vector for the x-axis.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#UnitY">UnitY</a></strong></code> <div class="block">Returns the unit vector for the y-axis.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#X">X</a></strong></code> <div class="block">Gets or sets the x-component of the vector.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Y">Y</a></strong></code> <div class="block">Gets or sets the y-component of the vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Zero">Zero</a></strong></code> <div class="block">Returns a Vector2 with all of its components set to zero.</div> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Vector2()">Vector2</a></strong>()</code> <div class="block">Initializes a new instance of Vector2.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Vector2(float)">Vector2</a></strong>(float value)</code> <div class="block">Initializes a new instance of Vector2.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Vector2(float, float)">Vector2</a></strong>(float x, float y)</code> <div class="block">Initializes a new instance of Vector2.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Add(Microsoft.Xna.Framework.Vector2)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</code> <div class="block">Adds the specified Vector2 to the current Vector2.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Add(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Adds two vectors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Add(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Adds two vectors.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Barycentric(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, float)">Barycentric</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, float amount1, float amount2)</code> <div class="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> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../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>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, float amount1, float amount2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="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> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../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>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value4, float amount)</code> <div class="block">Performs a Catmull-Rom interpolation using the specified positions.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../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>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value4, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Performs a Catmull-Rom interpolation using the specified positions.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Clamp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Clamp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> min, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> max)</code> <div class="block">Restricts a value to be within a specified range.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../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>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> min, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> max, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Restricts a value to be within a specified range.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Distance</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Calculates the distance between two vectors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Distance</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float result)</code> <div class="block">Calculates the distance between two vectors.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">DistanceSquared</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Calculates the distance between two vectors squared.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">DistanceSquared</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float result)</code> <div class="block">Calculates the distance between two vectors squared.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Divide(float)">Divide</a></strong>(float divider)</code> <div class="block">Divides the current vector by a scalar value.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</code> <div class="block">Divides the components of the current vector by the components of another vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, float)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float divider)</code> <div class="block">Divides a vector by a scalar value.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float divider, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Divides a vector by a scalar value.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Divides the components of a vector by the components of another vector.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Divide(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Divides the components of a vector by the components of another vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Dot</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Calculates the dot product of two vectors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Dot</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float result)</code> <div class="block">Calculates the dot product of two vectors and writes the result to a user-specified variable.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object obj)</code> <div class="block">Returns a value that indicates whether the current instance is equal to a specified object.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Equals(Microsoft.Xna.Framework.Vector2)">Equals</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</code> <div class="block">Determines whether the specified Object is equal to the Vector2.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#hashCode()">hashCode</a></strong>()</code> <div class="block">Gets the hash code of the vector object.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../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>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent2, float amount)</code> <div class="block">Performs a Hermite spline interpolation.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../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>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent2, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Performs a Hermite spline interpolation.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Length()">Length</a></strong>()</code> <div class="block">Calculates the length of the vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>float</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#LengthSquared()">LengthSquared</a></strong>()</code> <div class="block">Calculates the length of the vector squared.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">Lerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount)</code> <div class="block">Performs a linear interpolation between two vectors.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Lerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Performs a linear interpolation between two vectors.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Max(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Max</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Returns a vector that contains the highest value from each matching pair of components.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Max(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Max</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Returns a vector that contains the highest value from each matching pair of components.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Min(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Min</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Returns a vector that contains the lowest value from each matching pair of components.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Min(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Min</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Returns a vector that contains the lowest value from each matching pair of components.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(float)">Multiply</a></strong>(float scaleFactor)</code> <div class="block">Multiplies the current vector by a scalar value.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</code> <div class="block">Multiplies the components of the current vector by the components of another vector.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, float)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float scaleFactor)</code> <div class="block">Multiplies a vector by a scalar value.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float scaleFactor, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Multiplies a vector by a scalar value.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Multiplies the components of two vectors by each other.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Multiplies the components of two vectors by each other.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Negate()">Negate</a></strong>()</code> <div class="block">Returns the current vector pointing in the opposite direction.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Negate(Microsoft.Xna.Framework.Vector2)">Negate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value)</code> <div class="block">Returns a vector pointing in the opposite direction.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Negate(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Negate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Returns a vector pointing in the opposite direction.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Normalize()">Normalize</a></strong>()</code> <div class="block">Turns the current vector into a unit vector.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Normalize(Microsoft.Xna.Framework.Vector2)">Normalize</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value)</code> <div class="block">Creates a unit vector from the specified vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Normalize(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Normalize</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Creates a unit vector from the specified vector, writing the result to a user-specified variable.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Reflect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Reflect</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> vector, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal)</code> <div class="block">Determines the reflect vector of the given vector and normal.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Reflect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Reflect</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> vector, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Determines the reflect vector of the given vector and normal.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#SmoothStep(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)">SmoothStep</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount)</code> <div class="block">Interpolates between two values using a cubic equation.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#SmoothStep(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)">SmoothStep</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Interpolates between two values using a cubic equation.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Subtract(Microsoft.Xna.Framework.Vector2)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</code> <div class="block">Subtracts a vector from the current vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Subtract(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</code> <div class="block">Subtracts a vector from a vector.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Subtract(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Subtracts a vector from a vector.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#toString()">toString</a></strong>()</code> <div class="block">Retrieves a string representation of the current object.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[], int, int)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, int sourceIndex, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray, int destinationIndex, int length)</code> <div class="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> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2[], int, int)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, int sourceIndex, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray, int destinationIndex, int length)</code> <div class="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> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[])">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</code> <div class="block">Transforms an array of Vector2s by a specified Matrix.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2[])">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</code> <div class="block">Transforms an array of Vector2s by a specified Quaternion.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code> <div class="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</code> <div class="block">Transforms a single Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[], int, int)">TransformNormal</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, int sourceIndex, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray, int destinationIndex, int length)</code> <div class="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> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[])">TransformNormal</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</code> <div class="block">Transforms an array of Vector2 vector normals by a specified Matrix.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a></code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)">TransformNormal</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code> <div class="block">Transforms a 2D vector normal by a matrix.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector2.html#TransformNormal(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2)">TransformNormal</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</code> <div class="block">Transforms a vector normal by a matrix.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="One"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>One</h4> <pre>public static final <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> One</pre> <div class="block">Returns a Vector2 with both of its components set to one.</div> </li> </ul> <a name="UnitX"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>UnitX</h4> <pre>public static final <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> UnitX</pre> <div class="block">Returns the unit vector for the x-axis.</div> </li> </ul> <a name="UnitY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>UnitY</h4> <pre>public static final <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> UnitY</pre> <div class="block">Returns the unit vector for the y-axis.</div> </li> </ul> <a name="X"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>X</h4> <pre>public float X</pre> <div class="block">Gets or sets the x-component of the vector.</div> </li> </ul> <a name="Y"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Y</h4> <pre>public float Y</pre> <div class="block">Gets or sets the y-component of the vector.</div> </li> </ul> <a name="Zero"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Zero</h4> <pre>public static final <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Zero</pre> <div class="block">Returns a Vector2 with all of its components set to zero.</div> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="Vector2(float, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Vector2</h4> <pre>public Vector2(float x, float y)</pre> <div class="block">Initializes a new instance of Vector2.</div> <dl><dt><span class="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> <a name="Vector2(float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Vector2</h4> <pre>public Vector2(float value)</pre> <div class="block">Initializes a new instance of Vector2.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Value to initialize both components to.</dd></dl> </li> </ul> <a name="Vector2()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Vector2</h4> <pre>public Vector2()</pre> <div class="block">Initializes a new instance of Vector2.</div> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="Add(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Add</h4> <pre>public void Add(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre> <div class="block">Adds the specified Vector2 to the current Vector2.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source vector.</dd></dl> </li> </ul> <a name="Add(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Add</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Add(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Adds two vectors.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Add(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Add</h4> <pre>public static void Add(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Adds two vectors.</div> <dl><dt><span class="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> </li> </ul> <a name="Barycentric(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Barycentric</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Barycentric(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, float amount1, float amount2)</pre> <div class="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><span class="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> </li> </ul> <a name="Barycentric(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Barycentric</h4> <pre>public static void Barycentric(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, float amount1, float amount2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="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><span class="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> </li> </ul> <a name="CatmullRom(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CatmullRom</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> CatmullRom(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value4, float amount)</pre> <div class="block">Performs a Catmull-Rom interpolation using the specified positions.</div> <dl><dt><span class="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> </li> </ul> <a name="CatmullRom(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CatmullRom</h4> <pre>public static void CatmullRom(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value3, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value4, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Performs a Catmull-Rom interpolation using the specified positions.</div> <dl><dt><span class="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> </li> </ul> <a name="Clamp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Clamp</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Clamp(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> min, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> max)</pre> <div class="block">Restricts a value to be within a specified range.</div> <dl><dt><span class="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> </li> </ul> <a name="Clamp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Clamp</h4> <pre>public static void Clamp(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> min, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> max, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Restricts a value to be within a specified range.</div> <dl><dt><span class="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> </li> </ul> <a name="Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Distance</h4> <pre>public static float Distance(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Calculates the distance between two vectors.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Distance</h4> <pre>public static void Distance(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float result)</pre> <div class="block">Calculates the distance between two vectors.</div> <dl><dt><span class="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> </li> </ul> <a name="DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DistanceSquared</h4> <pre>public static float DistanceSquared(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Calculates the distance between two vectors squared.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DistanceSquared</h4> <pre>public static void DistanceSquared(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float result)</pre> <div class="block">Calculates the distance between two vectors squared.</div> <dl><dt><span class="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> <a name="Divide(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Divide</h4> <pre>public void Divide(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre> <div class="block">Divides the components of the current vector by the components of another vector.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Divisor vector.</dd></dl> </li> </ul> <a name="Divide(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Divide</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Divide(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Divides the components of a vector by the components of another vector.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Divisor vector.</dd></dl> </li> </ul> <a name="Divide(float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Divide</h4> <pre>public void Divide(float divider)</pre> <div class="block">Divides the current vector by a scalar value.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>divider</code> - The divisor.</dd></dl> </li> </ul> <a name="Divide(Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Divide</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Divide(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float divider)</pre> <div class="block">Divides a vector by a scalar value.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>divider</code> - The divisor.</dd></dl> </li> </ul> <a name="Divide(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Divide</h4> <pre>public static void Divide(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Divides the components of a vector by the components of another vector.</div> <dl><dt><span class="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> </li> </ul> <a name="Divide(Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Divide</h4> <pre>public static void Divide(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float divider, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Divides a vector by a scalar value.</div> <dl><dt><span class="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> </li> </ul> <a name="Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Dot</h4> <pre>public static float Dot(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="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 angle between them.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Dot</h4> <pre>public static void Dot(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float result)</pre> <div class="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><span class="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> </li> </ul> <a name="equals(java.lang.Object)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>equals</h4> <pre>public boolean equals(java.lang.Object obj)</pre> <div class="block">Returns a value that indicates whether the current instance is equal to a specified object.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code>equals</code> in class <code>java.lang.Object</code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - Object to make the comparison with.</dd> <dt><span class="strong">Returns:</span></dt><dd>true if the current instance is equal to the specified object; false otherwise.</dd></dl> </li> </ul> <a name="Equals(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Equals</h4> <pre>public boolean Equals(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre> <div class="block">Determines whether the specified Object is equal to the Vector2.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../System/IEquatable.html#Equals(T)">Equals</a></code> in interface <code><a href="../../../System/IEquatable.html" title="interface in System">IEquatable</a><<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - The Object to compare with the current Vector2.</dd> <dt><span class="strong">Returns:</span></dt><dd>true if the current object is equal to the other parameter; otherwise, false.</dd></dl> </li> </ul> <a name="hashCode()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hashCode</h4> <pre>public int hashCode()</pre> <div class="block">Gets the hash code of the vector object.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd> <dt><span class="strong">Returns:</span></dt><dd>Hash code of the vector object.</dd></dl> </li> </ul> <a name="Hermite(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Hermite</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Hermite(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent2, float amount)</pre> <div class="block">Performs a Hermite spline interpolation.</div> <dl><dt><span class="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> </li> </ul> <a name="Hermite(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Hermite</h4> <pre>public static void Hermite(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> tangent2, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Performs a Hermite spline interpolation.</div> <dl><dt><span class="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> <a name="Length()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Length</h4> <pre>public float Length()</pre> <div class="block">Calculates the length of the vector.</div> </li> </ul> <a name="LengthSquared()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>LengthSquared</h4> <pre>public float LengthSquared()</pre> <div class="block">Calculates the length of the vector squared.</div> </li> </ul> <a name="Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Lerp</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Lerp(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount)</pre> <div class="block">Performs a linear interpolation between two vectors.</div> <dl><dt><span class="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> </li> </ul> <a name="Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Lerp</h4> <pre>public static void Lerp(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Performs a linear interpolation between two vectors.</div> <dl><dt><span class="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> </li> </ul> <a name="Max(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Max</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Max(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Returns a vector that contains the highest value from each matching pair of components.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Max(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Max</h4> <pre>public static void Max(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Returns a vector that contains the highest value from each matching pair of components.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The maximized vector.</dd></dl> </li> </ul> <a name="Min(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Min</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Min(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Returns a vector that contains the lowest value from each matching pair of components.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Min(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Min</h4> <pre>public static void Min(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Returns a vector that contains the lowest value from each matching pair of components.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The minimized vector.</dd></dl> </li> </ul> <a name="Multiply(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Multiply</h4> <pre>public void Multiply(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre> <div class="block">Multiplies the components of the current vector by the components of another vector.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source vector.</dd></dl> </li> </ul> <a name="Multiply(float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Multiply</h4> <pre>public void Multiply(float scaleFactor)</pre> <div class="block">Multiplies the current vector by a scalar value.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>scaleFactor</code> - Scalar value.</dd></dl> </li> </ul> <a name="Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Multiply</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Multiply(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Multiplies the components of two vectors by each other.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Multiply(Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Multiply</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Multiply(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float scaleFactor)</pre> <div class="block">Multiplies a vector by a scalar value.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>scaleFactor</code> - Scalar value.</dd></dl> </li> </ul> <a name="Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Multiply</h4> <pre>public static void Multiply(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Multiplies the components of two vectors by each other.</div> <dl><dt><span class="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> </li> </ul> <a name="Multiply(Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Multiply</h4> <pre>public static void Multiply(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, float scaleFactor, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Multiplies a vector by a scalar value.</div> <dl><dt><span class="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> <a name="Negate()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Negate</h4> <pre>public void Negate()</pre> <div class="block">Returns the current vector pointing in the opposite direction.</div> </li> </ul> <a name="Negate(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Negate</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Negate(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value)</pre> <div class="block">Returns a vector pointing in the opposite direction.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Source vector.</dd></dl> </li> </ul> <a name="Negate(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Negate</h4> <pre>public static void Negate(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Returns a vector pointing in the opposite direction.</div> <dl><dt><span class="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> <a name="Normalize()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Normalize</h4> <pre>public void Normalize()</pre> <div class="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> </li> </ul> <a name="Normalize(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Normalize</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Normalize(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value)</pre> <div class="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> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Source Vector2.</dd></dl> </li> </ul> <a name="Normalize(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Normalize</h4> <pre>public static void Normalize(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="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 as the original vector.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] Normalized vector.</dd></dl> </li> </ul> <a name="Reflect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Reflect</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Reflect(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> vector, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal)</pre> <div class="block">Determines the reflect vector of the given vector and normal.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - Source vector.</dd><dd><code>normal</code> - Normal of vector.</dd></dl> </li> </ul> <a name="Reflect(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Reflect</h4> <pre>public static void Reflect(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> vector, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Determines the reflect vector of the given vector and normal.</div> <dl><dt><span class="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> </li> </ul> <a name="SmoothStep(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SmoothStep</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> SmoothStep(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount)</pre> <div class="block">Interpolates between two values using a cubic equation.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source value.</dd><dd><code>value2</code> - Source value.</dd><dd><code>amount</code> - Weighting value.</dd></dl> </li> </ul> <a name="SmoothStep(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SmoothStep</h4> <pre>public static void SmoothStep(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, float amount, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Interpolates between two values using a cubic equation.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source value.</dd><dd><code>value2</code> - Source value.</dd><dd><code>amount</code> - Weighting value.</dd><dd><code>result</code> - [OutAttribute] The interpolated value.</dd></dl> </li> </ul> <a name="Subtract(Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Subtract</h4> <pre>public void Subtract(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> other)</pre> <div class="block">Subtracts a vector from the current vector.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source vector.</dd></dl> </li> </ul> <a name="Subtract(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Subtract</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Subtract(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2)</pre> <div class="block">Subtracts a vector from a vector.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - Source vector.</dd><dd><code>value2</code> - Source vector.</dd></dl> </li> </ul> <a name="Subtract(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Subtract</h4> <pre>public static void Subtract(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value1, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value2, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Subtracts a vector from a vector.</div> <dl><dt><span class="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> </li> </ul> <a name="toString()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toString</h4> <pre>public java.lang.String toString()</pre> <div class="block">Retrieves a string representation of the current object.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code>toString</code> in class <code>java.lang.Object</code></dd> </dl> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre> <div class="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The source vector.</dd><dd><code>matrix</code> - The transformation matrix.</dd></dl> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</pre> <div class="block">Transforms a single Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The vector to rotate.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd></dl> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> position, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Transforms the vector (x, y, 0, 1) by the specified matrix.</div> <dl><dt><span class="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> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</pre> <div class="block">Transforms an array of Vector2s by a specified Matrix.</div> <dl><dt><span class="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><span class="strong">Throws:</span></dt> <dd><code><a href="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null.</dd> <dd><code><a href="../../../System/ArgumentException.html" title="class in System">ArgumentException</a></code> - destinationArray size is too small.</dd></dl> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</pre> <div class="block">Transforms an array of Vector2s by a specified Quaternion.</div> <dl><dt><span class="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><span class="strong">Throws:</span></dt> <dd><code><a href="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null.</dd> <dd><code><a href="../../../System/ArgumentException.html" title="class in System">ArgumentException</a></code> - destinationArray size is too small.</dd></dl> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Transforms a Vector2, or the vector normal (x, y, 0, 0), by a specified Quaternion rotation.</div> <dl><dt><span class="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> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[], int, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, int sourceIndex, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray, int destinationIndex, int length)</pre> <div class="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><span class="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> </li> </ul> <a name="Transform(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector2[], int, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Transform</h4> <pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, int sourceIndex, <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray, int destinationIndex, int length)</pre> <div class="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><span class="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> </li> </ul> <a name="TransformNormal(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>TransformNormal</h4> <pre>public static <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> TransformNormal(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre> <div class="block">Transforms a 2D vector normal by a matrix.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>normal</code> - The source vector.</dd><dd><code>matrix</code> - The transformation matrix.</dd></dl> </li> </ul> <a name="TransformNormal(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>TransformNormal</h4> <pre>public static void TransformNormal(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> normal, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> result)</pre> <div class="block">Transforms a vector normal by a matrix.</div> <dl><dt><span class="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> </li> </ul> <a name="TransformNormal(Microsoft.Xna.Framework.Vector2[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>TransformNormal</h4> <pre>public static void TransformNormal(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray)</pre> <div class="block">Transforms an array of Vector2 vector normals by a specified Matrix.</div> <dl><dt><span class="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><span class="strong">Throws:</span></dt> <dd><code><a href="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null.</dd> <dd><code><a href="../../../System/ArgumentException.html" title="class in System">ArgumentException</a></code> - destinationArray size is too small.</dd></dl> </li> </ul> <a name="TransformNormal(Microsoft.Xna.Framework.Vector2[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector2[], int, int)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>TransformNormal</h4> <pre>public static void TransformNormal(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] sourceArray, int sourceIndex, <a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix, <a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a>[] destinationArray, int destinationIndex, int length)</pre> <div class="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><span class="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><span class="strong">Throws:</span></dt> <dd><code><a href="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code> - sourceArray or destinationArray is null</dd></dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Vector2.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-files/index-1.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../Microsoft/Xna/Framework/TitleContainer.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li> <li><a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?Microsoft/Xna/Framework/Vector2.html" target="_top">Frames</a></li> <li><a href="Vector2.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>