1902 lines
121 KiB
HTML
1902 lines
121 KiB
HTML
<!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>Vector4</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="Vector4";
|
|
}
|
|
//-->
|
|
</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/Vector4.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/Vector3.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?Microsoft/Xna/Framework/Vector4.html" target="_top">Frames</a></li>
|
|
<li><a href="Vector4.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 Vector4" class="title">Class Vector4</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.Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public final class <span class="strong">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>></pre>
|
|
<div class="block">Defines a vector with four 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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#One">One</a></strong></code>
|
|
<div class="block">Returns a Vector4 with all of its components set to one.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#UnitW">UnitW</a></strong></code>
|
|
<div class="block">Returns the Vector4 (0, 0, 0, 1).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#UnitX">UnitX</a></strong></code>
|
|
<div class="block">Returns the Vector4 (1, 0, 0, 0).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#UnitY">UnitY</a></strong></code>
|
|
<div class="block">Returns the Vector4 (0, 1, 0, 0).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#UnitZ">UnitZ</a></strong></code>
|
|
<div class="block">Returns the Vector4 (0, 0, 1, 0).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#W">W</a></strong></code>
|
|
<div class="block">Gets or sets the w-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/Vector4.html#X">X</a></strong></code>
|
|
<div class="block">Gets or sets the x-component 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/Vector4.html#Y">Y</a></strong></code>
|
|
<div class="block">Gets or sets the y-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/Vector4.html#Z">Z</a></strong></code>
|
|
<div class="block">Gets or sets the z-component of the vector.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Zero">Zero</a></strong></code>
|
|
<div class="block">Returns a Vector4 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/Vector4.html#Vector4()">Vector4</a></strong>()</code>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Vector4(float)">Vector4</a></strong>(float value)</code>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Vector4(float, float, float, float)">Vector4</a></strong>(float x,
|
|
float y,
|
|
float z,
|
|
float w)</code>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Vector4(Microsoft.Xna.Framework.Vector2, float, float)">Vector4</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value,
|
|
float z,
|
|
float w)</code>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Vector4(Microsoft.Xna.Framework.Vector3, float)">Vector4</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> value,
|
|
float w)</code>
|
|
<div class="block">Creates a new instance of Vector4.</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/Vector4.html#Add(Microsoft.Xna.Framework.Vector4)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> other)</code>
|
|
<div class="block">Adds the specified vector to the current vector.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Add(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Add(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Barycentric(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, float)">Barycentric</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
float amount1,
|
|
float amount2)</code>
|
|
<div class="block">Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 4D 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/Vector4.html#Barycentric(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, float, Microsoft.Xna.Framework.Vector4)">Barycentric</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
float amount1,
|
|
float amount2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 4D triangle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#CatmullRom(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">CatmullRom</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#CatmullRom(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">CatmullRom</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value4,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Clamp(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Clamp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> min,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Clamp(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Clamp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> min,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> max,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Distance(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Distance</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Distance(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">Distance</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#DistanceSquared(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">DistanceSquared</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#DistanceSquared(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">DistanceSquared</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.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/Vector4.html#Divide(Microsoft.Xna.Framework.Vector4)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Divide(Microsoft.Xna.Framework.Vector4, float)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Divide(Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
float divider,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Divide(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Divide(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Dot(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Dot</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector2)</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/Vector4.html#Dot(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">Dot</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector2,
|
|
float result)</code>
|
|
<div class="block">Calculates the dot product of two vectors.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.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/Vector4.html#Equals(Microsoft.Xna.Framework.Vector4)">Equals</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> other)</code>
|
|
<div class="block">Determines whether the specified Object is equal to the Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#hashCode()">hashCode</a></strong>()</code>
|
|
<div class="block">Gets the hash code of this object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Hermite(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">Hermite</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> tangent1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Hermite(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">Hermite</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> tangent1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> tangent2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.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/Vector4.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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Lerp(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">Lerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Lerp(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">Lerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Max(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Max</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Max(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Max</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Min(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Min</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Min(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Min</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Multiply(float)">Multiply</a></strong>(float scaleFactor)</code>
|
|
<div class="block">Multiplies the current vector by a scalar.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Multiply(Microsoft.Xna.Framework.Vector4)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Multiply(Microsoft.Xna.Framework.Vector4, float)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
float scaleFactor)</code>
|
|
<div class="block">Multiplies a vector by a scalar.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Multiply(Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
float scaleFactor,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Multiplies a vector by a scalar.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Multiply(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Multiply(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Negate(Microsoft.Xna.Framework.Vector4)">Negate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Negate(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Negate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Normalize(Microsoft.Xna.Framework.Vector4)">Normalize</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector)</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/Vector4.html#Normalize(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Normalize</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Returns a normalized version of the specified vector.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#SmoothStep(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">SmoothStep</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#SmoothStep(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">SmoothStep</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Subtract(Microsoft.Xna.Framework.Vector4)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Subtract(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html#Subtract(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.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 <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.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 a Vector2 by the given 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/Vector4.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4)">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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Transforms a Vector2 by the given Matrix.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.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 Vector2 by a specified Quaternion into a Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4)">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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Transforms a Vector2 by a specified Quaternion into a Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Matrix)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> position,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code>
|
|
<div class="block">Transforms a Vector3 by the given 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/Vector4.html#Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> position,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Transforms a Vector3 by the given Matrix.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Quaternion)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</code>
|
|
<div class="block">Transforms a Vector3 by a specified Quaternion into a Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Transforms a Vector3 by a specified Quaternion into a Vector4.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4[], int, int)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray,
|
|
int destinationIndex,
|
|
int length)</code>
|
|
<div class="block">Transforms a specified range in an array of Vector4s by a specified Matrix into 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/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4[], int, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4[], int, int)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray,
|
|
int destinationIndex,
|
|
int length)</code>
|
|
<div class="block">Transforms a specified range in an array of Vector4s by a specified Quaternion into 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/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4[])">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] sourceArray,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray)</code>
|
|
<div class="block">Transforms an array of Vector4s 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/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4[], Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4[])">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] sourceArray,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray)</code>
|
|
<div class="block">Transforms an array of Vector4s by a specified Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Matrix)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code>
|
|
<div class="block">Transforms a Vector4 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/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Transforms a Vector4 by the given Matrix.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Quaternion)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</code>
|
|
<div class="block">Transforms a Vector4 by a specified Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Vector4.html#Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4)">Transform</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</code>
|
|
<div class="block">Transforms a Vector4 by a specified Quaternion.</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> One</pre>
|
|
<div class="block">Returns a Vector4 with all of its components set to one.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="UnitW">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>UnitW</h4>
|
|
<pre>public static final <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> UnitW</pre>
|
|
<div class="block">Returns the Vector4 (0, 0, 0, 1).</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> UnitX</pre>
|
|
<div class="block">Returns the Vector4 (1, 0, 0, 0).</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> UnitY</pre>
|
|
<div class="block">Returns the Vector4 (0, 1, 0, 0).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="UnitZ">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>UnitZ</h4>
|
|
<pre>public static final <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> UnitZ</pre>
|
|
<div class="block">Returns the Vector4 (0, 0, 1, 0).</div>
|
|
</li>
|
|
</ul>
|
|
<a name="W">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>W</h4>
|
|
<pre>public float W</pre>
|
|
<div class="block">Gets or sets the w-component of the vector.</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="Z">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Z</h4>
|
|
<pre>public float Z</pre>
|
|
<div class="block">Gets or sets the z-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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Zero</pre>
|
|
<div class="block">Returns a Vector4 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="Vector4(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Vector4</h4>
|
|
<pre>public Vector4(float value)</pre>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Value to initialize each component to.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Vector4(Microsoft.Xna.Framework.Vector3, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Vector4</h4>
|
|
<pre>public Vector4(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> value,
|
|
float w)</pre>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - A vector containing the values to initialize x, y, and z components with.</dd><dd><code>w</code> - Initial value for the w-component of the vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Vector4(Microsoft.Xna.Framework.Vector2, float, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Vector4</h4>
|
|
<pre>public Vector4(<a href="../../../Microsoft/Xna/Framework/Vector2.html" title="class in Microsoft.Xna.Framework">Vector2</a> value,
|
|
float z,
|
|
float w)</pre>
|
|
<div class="block">Creates a new instance of Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - A vector containing the values to initialize x and y components with.</dd><dd><code>z</code> - Initial value for the z-component of the vector.</dd><dd><code>w</code> - Initial value for the w-component of the vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Vector4(float, float, float, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Vector4</h4>
|
|
<pre>public Vector4(float x,
|
|
float y,
|
|
float z,
|
|
float w)</pre>
|
|
<div class="block">Creates a new instance of Vector4.</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><dd><code>z</code> - Initial value for the z-component of the vector.</dd><dd><code>w</code> - Initial value for the w-component of the vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Vector4()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Vector4</h4>
|
|
<pre>public Vector4()</pre>
|
|
<div class="block">Creates a new instance of Vector4.</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.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Add</h4>
|
|
<pre>public void Add(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> other)</pre>
|
|
<div class="block">Adds the specified vector to the current vector.</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Add</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Add(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Add</h4>
|
|
<pre>public static void Add(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Barycentric</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Barycentric(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
float amount1,
|
|
float amount2)</pre>
|
|
<div class="block">Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 4D triangle.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - A Vector4 containing the 4D Cartesian coordinates of vertex 1 of the triangle.</dd><dd><code>value2</code> - A Vector4 containing the 4D Cartesian coordinates of vertex 2 of the triangle.</dd><dd><code>value3</code> - A Vector4 containing the 4D Cartesian coordinates of vertex 4 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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Barycentric</h4>
|
|
<pre>public static void Barycentric(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
float amount1,
|
|
float amount2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 4D triangle.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - A Vector4 containing the 4D Cartesian coordinates of vertex 1 of the triangle.</dd><dd><code>value2</code> - A Vector4 containing the 4D Cartesian coordinates of vertex 2 of the triangle.</dd><dd><code>value3</code> - A Vector4 containing the 4D Cartesian coordinates of vertex 4 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 4D Cartesian coordinates of the specified point are placed in this Vector4 on exit.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CatmullRom(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CatmullRom</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> CatmullRom(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CatmullRom</h4>
|
|
<pre>public static void CatmullRom(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value3,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value4,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Clamp</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Clamp(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> min,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Clamp</h4>
|
|
<pre>public static void Clamp(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> min,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> max,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Distance</h4>
|
|
<pre>public static float Distance(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Distance</h4>
|
|
<pre>public static void Distance(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DistanceSquared</h4>
|
|
<pre>public static float DistanceSquared(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DistanceSquared</h4>
|
|
<pre>public static void DistanceSquared(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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 two vectors squared.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Divide(Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public void Divide(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Divide(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Divide(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public static void Divide(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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> - Divisor vector.</dd><dd><code>result</code> - [OutAttribute] The result of the division.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Divide(Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public static void Divide(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
float divider,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dot</h4>
|
|
<pre>public static float Dot(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector2)</pre>
|
|
<div class="block">Calculates the dot product of two vectors.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector1</code> - Source vector.</dd><dd><code>vector2</code> - Source vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Dot(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dot</h4>
|
|
<pre>public static void Dot(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector2,
|
|
float result)</pre>
|
|
<div class="block">Calculates the dot product of two vectors.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector1</code> - Source vector.</dd><dd><code>vector2</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 with which to make the comparison.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Equals(Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Equals</h4>
|
|
<pre>public boolean Equals(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> other)</pre>
|
|
<div class="block">Determines whether the specified Object is equal to the Vector4.</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - The Vector4 to compare with the current Vector4.</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 this object.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Hermite(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Hermite</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Hermite(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> tangent1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Hermite</h4>
|
|
<pre>public static void Hermite(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> tangent1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> tangent2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Lerp</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Lerp(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Lerp</h4>
|
|
<pre>public static void Lerp(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Max</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Max(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Max</h4>
|
|
<pre>public static void Max(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Min</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Min(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Min</h4>
|
|
<pre>public static void Min(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public void Multiply(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Multiply(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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(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.</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.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Multiply(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
float scaleFactor)</pre>
|
|
<div class="block">Multiplies a vector by a scalar.</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static void Multiply(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static void Multiply(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
float scaleFactor,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Multiplies a vector by a scalar.</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.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Negate</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Negate(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Negate</h4>
|
|
<pre>public static void Negate(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Normalize(Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Normalize</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Normalize(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector)</pre>
|
|
<div class="block">Creates a unit vector from the specified vector.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - Source vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Normalize(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Normalize</h4>
|
|
<pre>public static void Normalize(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Returns a normalized version of the specified vector.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - Source vector.</dd><dd><code>result</code> - [OutAttribute] The normalized vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SmoothStep(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SmoothStep</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> SmoothStep(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, float, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SmoothStep</h4>
|
|
<pre>public static void SmoothStep(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Subtract</h4>
|
|
<pre>public void Subtract(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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> - </dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Subtract(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Subtract</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Subtract(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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.Vector4, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Subtract</h4>
|
|
<pre>public static void Subtract(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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 a Vector2 by the given Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The source Vector2.</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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 Vector2 by a specified Quaternion into a Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Vector2 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Matrix)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Transform(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> position,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre>
|
|
<div class="block">Transforms a Vector3 by the given Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The source Vector3.</dd><dd><code>matrix</code> - The transformation Matrix.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Transform(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</pre>
|
|
<div class="block">Transforms a Vector3 by a specified Quaternion into a Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Vector3 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Matrix)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre>
|
|
<div class="block">Transforms a Vector4 by the specified Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - The source Vector4.</dd><dd><code>matrix</code> - The transformation Matrix.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation)</pre>
|
|
<div class="block">Transforms a Vector4 by a specified Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Vector4 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4[], Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] sourceArray,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray)</pre>
|
|
<div class="block">Transforms an array of Vector4s by a specified Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of Vector4s to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>destinationArray</code> - The existing destination array into which the transformed Vector4s are written.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Transforms a Vector2 by the given Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The source Vector2.</dd><dd><code>matrix</code> - The transformation Matrix.</dd><dd><code>result</code> - [OutAttribute] The Vector4 resulting from the transformation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Transforms a Vector2 by a specified Quaternion into a Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Vector2 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>result</code> - [OutAttribute] The Vector4 resulting from the transformation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4[], Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] sourceArray,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray)</pre>
|
|
<div class="block">Transforms an array of Vector4s by a specified Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of Vector4s to transform.</dd><dd><code>matrix</code> - The transform Matrix to apply.</dd><dd><code>destinationArray</code> - The existing destination array into which the transformed Vector4s are written.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> position,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Transforms a Vector3 by the given Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The source Vector3.</dd><dd><code>matrix</code> - The transformation Matrix.</dd><dd><code>result</code> - [OutAttribute] The Vector4 resulting from the transformation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Transforms a Vector3 by a specified Quaternion into a Vector4.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Vector3 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>result</code> - [OutAttribute] The Vector4 resulting from the transformation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> vector,
|
|
<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Transforms a Vector4 by the given Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vector</code> - The source Vector4.</dd><dd><code>matrix</code> - The transformation Matrix.</dd><dd><code>result</code> - [OutAttribute] The Vector4 resulting from the transformation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> rotation,
|
|
<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a> result)</pre>
|
|
<div class="block">Transforms a Vector4 by a specified Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Vector4 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>result</code> - [OutAttribute] The Vector4 resulting from the transformation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4[], int, Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Vector4[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray,
|
|
int destinationIndex,
|
|
int length)</pre>
|
|
<div class="block">Transforms a specified range in an array of Vector4s by a specified Matrix into a specified range in a destination array.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of Vector4s containing the range to transform.</dd><dd><code>sourceIndex</code> - The index in the source array of the first Vector4 to transform.</dd><dd><code>matrix</code> - The transform Matrix to apply.</dd><dd><code>destinationArray</code> - The existing destination array of Vector4s into which to write the results.</dd><dd><code>destinationIndex</code> - The index in the destination array of the first result Vector4 to write.</dd><dd><code>length</code> - The number of Vector4s to transform.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Transform(Microsoft.Xna.Framework.Vector4[], int, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Vector4[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Transform</h4>
|
|
<pre>public static void Transform(<a href="../../../Microsoft/Xna/Framework/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</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/Vector4.html" title="class in Microsoft.Xna.Framework">Vector4</a>[] destinationArray,
|
|
int destinationIndex,
|
|
int length)</pre>
|
|
<div class="block">Transforms a specified range in an array of Vector4s by a specified Quaternion into a specified range in a destination array.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceArray</code> - The array of Vector4s containing the range to transform.</dd><dd><code>sourceIndex</code> - The index in the source array of the first Vector4 to transform.</dd><dd><code>rotation</code> - The Quaternion rotation to apply.</dd><dd><code>destinationArray</code> - The existing destination array of Vector4s into which to write the results.</dd><dd><code>destinationIndex</code> - The index in the destination array of the first result Vector4 to write.</dd><dd><code>length</code> - The number of Vector4s to transform.</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/Vector4.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/Vector3.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?Microsoft/Xna/Framework/Vector4.html" target="_top">Frames</a></li>
|
|
<li><a href="Vector4.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>
|