1265 lines
73 KiB
HTML
1265 lines
73 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>Quaternion</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="Quaternion";
|
|
}
|
|
//-->
|
|
</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/Quaternion.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/Point.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?Microsoft/Xna/Framework/Quaternion.html" target="_top">Frames</a></li>
|
|
<li><a href="Quaternion.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 Quaternion" class="title">Class Quaternion</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.Quaternion</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/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a>></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public final class <span class="strong">Quaternion</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/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a>></pre>
|
|
<div class="block">Defines a four-dimensional vector (x,y,z,w), which is used to efficiently rotate an object about the (x, y, z) vector by the angle theta, where w = cos(theta/2).</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><a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Identity">Identity</a></strong></code>
|
|
<div class="block">Returns a Quaternion representing no rotation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#W">W</a></strong></code>
|
|
<div class="block">Specifies the rotation component of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#X">X</a></strong></code>
|
|
<div class="block">Specifies the x-value of the vector component of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Y">Y</a></strong></code>
|
|
<div class="block">Specifies the y-value of the vector component of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Z">Z</a></strong></code>
|
|
<div class="block">Specifies the z-value of the vector component of the quaternion.</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/Quaternion.html#Quaternion()">Quaternion</a></strong>()</code>
|
|
<div class="block">Initializes a new instance of Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Quaternion(float, float, float, float)">Quaternion</a></strong>(float x,
|
|
float y,
|
|
float z,
|
|
float w)</code>
|
|
<div class="block">Initializes a new instance of Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Quaternion(Microsoft.Xna.Framework.Vector3, float)">Quaternion</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> vectorPart,
|
|
float scalarPart)</code>
|
|
<div class="block">Initializes a new instance of Quaternion.</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/Quaternion.html#Add(Microsoft.Xna.Framework.Quaternion)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</code>
|
|
<div class="block">Adds the specified quaternion to the current quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</code>
|
|
<div class="block">Adds two Quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Add</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Adds two Quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Concatenate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value2)</code>
|
|
<div class="block">Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Concatenate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Conjugate()">Conjugate</a></strong>()</code>
|
|
<div class="block">Transforms this Quaternion into its conjugate.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Conjugate(Microsoft.Xna.Framework.Quaternion)">Conjugate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value)</code>
|
|
<div class="block">Returns the conjugate of 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/Quaternion.html#Conjugate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Conjugate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Returns the conjugate of a specified Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float)">CreateFromAxisAngle</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> axis,
|
|
float angle)</code>
|
|
<div class="block">Creates a Quaternion from a vector and an angle to rotate about the 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/Quaternion.html#CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float, Microsoft.Xna.Framework.Quaternion)">CreateFromAxisAngle</a></strong>(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> axis,
|
|
float angle,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Creates a Quaternion from a vector and an angle to rotate about the vector.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix)">CreateFromRotationMatrix</a></strong>(<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</code>
|
|
<div class="block">Creates a Quaternion from a rotation 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/Quaternion.html#CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Quaternion)">CreateFromRotationMatrix</a></strong>(<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Creates a Quaternion from a rotation Matrix.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromYawPitchRoll(float, float, float)">CreateFromYawPitchRoll</a></strong>(float yaw,
|
|
float pitch,
|
|
float roll)</code>
|
|
<div class="block">Creates a new Quaternion from specified yaw, pitch, and roll angles.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromYawPitchRoll(float, float, float, Microsoft.Xna.Framework.Quaternion)">CreateFromYawPitchRoll</a></strong>(float yaw,
|
|
float pitch,
|
|
float roll,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Creates a new Quaternion from specified yaw, pitch, and roll angles.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Divide(Microsoft.Xna.Framework.Quaternion)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</code>
|
|
<div class="block">Divides the current quaternion by the specified quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</code>
|
|
<div class="block">Divides a Quaternion by another Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Divide</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Divides a Quaternion by another Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Dot</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</code>
|
|
<div class="block">Calculates the dot product of two Quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">Dot</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float result)</code>
|
|
<div class="block">Calculates the dot product of two Quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.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/Quaternion.html#Equals(Microsoft.Xna.Framework.Quaternion)">Equals</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</code>
|
|
<div class="block">Determines whether the specified Object is equal to the Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#hashCode()">hashCode</a></strong>()</code>
|
|
<div class="block">Get the hash code of this object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Inverse(Microsoft.Xna.Framework.Quaternion)">Inverse</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion)</code>
|
|
<div class="block">Returns the inverse of a 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/Quaternion.html#Inverse(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Inverse</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Returns the inverse of a Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Length()">Length</a></strong>()</code>
|
|
<div class="block">Calculates the length of a Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#LengthSquared()">LengthSquared</a></strong>()</code>
|
|
<div class="block">Calculates the length squared of a Quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">Lerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount)</code>
|
|
<div class="block">Linearly interpolates between two quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">Lerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Linearly interpolates between two quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(float)">Multiply</a></strong>(float scaleFactor)</code>
|
|
<div class="block">Multiplies the current quaternion by the specified scalar value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</code>
|
|
<div class="block">Multiplies the current quaternion by the specified quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, float)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
float scaleFactor)</code>
|
|
<div class="block">Multiplies a quaternion by a scalar value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
float scaleFactor,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Multiplies a quaternion by a scalar value.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</code>
|
|
<div class="block">Multiplies two quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Multiply</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Multiplies two quaternions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Negate(Microsoft.Xna.Framework.Quaternion)">Negate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion)</code>
|
|
<div class="block">Flips the sign of each component of the 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/Quaternion.html#Negate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Negate</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Flips the sign of each component of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Normalize()">Normalize</a></strong>()</code>
|
|
<div class="block">Divides each component of the quaternion by the length of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Normalize(Microsoft.Xna.Framework.Quaternion)">Normalize</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion)</code>
|
|
<div class="block">Divides each component of the quaternion by the length of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Normalize(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Normalize</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Divides each component of the quaternion by the length of the quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">Slerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount)</code>
|
|
<div class="block">Interpolates between two quaternions, using spherical linear interpolation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">Slerp</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Interpolates between two quaternions, using spherical linear interpolation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Subtract(Microsoft.Xna.Framework.Quaternion)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</code>
|
|
<div class="block">Subtracts the specified Quaternion from the current quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</code>
|
|
<div class="block">Subtracts a quaternion from another 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/Quaternion.html#Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Subtract</a></strong>(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</code>
|
|
<div class="block">Subtracts a quaternion from another quaternion.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../Microsoft/Xna/Framework/Quaternion.html#toString()">toString</a></strong>()</code>
|
|
<div class="block">Retrieves a string representation of the current object.</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="Identity">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Identity</h4>
|
|
<pre>public final <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Identity</pre>
|
|
<div class="block">Returns a Quaternion representing no rotation.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="X">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>X</h4>
|
|
<pre>public float X</pre>
|
|
<div class="block">Specifies the x-value of the vector component of the quaternion.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Y">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Y</h4>
|
|
<pre>public float Y</pre>
|
|
<div class="block">Specifies the y-value of the vector component of the quaternion.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Z">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Z</h4>
|
|
<pre>public float Z</pre>
|
|
<div class="block">Specifies the z-value of the vector component of the quaternion.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="W">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>W</h4>
|
|
<pre>public float W</pre>
|
|
<div class="block">Specifies the rotation component of the quaternion.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="Quaternion(Microsoft.Xna.Framework.Vector3, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Quaternion</h4>
|
|
<pre>public Quaternion(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> vectorPart,
|
|
float scalarPart)</pre>
|
|
<div class="block">Initializes a new instance of Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>vectorPart</code> - The vector component of the quaternion.</dd><dd><code>scalarPart</code> - The rotation component of the quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Quaternion(float, float, float, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Quaternion</h4>
|
|
<pre>public Quaternion(float x,
|
|
float y,
|
|
float z,
|
|
float w)</pre>
|
|
<div class="block">Initializes a new instance of Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-value of the quaternion.</dd><dd><code>y</code> - The y-value of the quaternion.</dd><dd><code>z</code> - The z-value of the quaternion.</dd><dd><code>w</code> - The w-value of the quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Quaternion()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Quaternion</h4>
|
|
<pre>public Quaternion()</pre>
|
|
<div class="block">Initializes a new instance of Quaternion.</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.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Add</h4>
|
|
<pre>public void Add(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</pre>
|
|
<div class="block">Adds the specified quaternion to the current quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Add</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Add(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</pre>
|
|
<div class="block">Adds two Quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Quaternion to add.</dd><dd><code>quaternion2</code> - Quaternion to add.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Add</h4>
|
|
<pre>public static void Add(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Adds two Quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Quaternion to add.</dd><dd><code>quaternion2</code> - Quaternion to add.</dd><dd><code>result</code> - [OutAttribute] Result of adding the Quaternions.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Concatenate</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Concatenate(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value2)</pre>
|
|
<div class="block">Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - The first Quaternion rotation in the series.</dd><dd><code>value2</code> - The second Quaternion rotation in the series.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Concatenate</h4>
|
|
<pre>public static void Concatenate(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value1</code> - The first Quaternion rotation in the series.</dd><dd><code>value2</code> - The second Quaternion rotation in the series.</dd><dd><code>result</code> - [OutAttribute] The Quaternion rotation representing the concatenation of value1 followed by value2.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Conjugate()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Conjugate</h4>
|
|
<pre>public void Conjugate()</pre>
|
|
<div class="block">Transforms this Quaternion into its conjugate.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Conjugate(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Conjugate</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Conjugate(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value)</pre>
|
|
<div class="block">Returns the conjugate of a specified Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Quaternion of which to return the conjugate.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Conjugate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Conjugate</h4>
|
|
<pre>public static void Conjugate(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> value,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Returns the conjugate of a specified Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The Quaternion of which to return the conjugate.</dd><dd><code>result</code> - [OutAttribute] An existing Quaternion filled in to be the conjugate of the specified one.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateFromAxisAngle</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> CreateFromAxisAngle(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> axis,
|
|
float angle)</pre>
|
|
<div class="block">Creates a Quaternion from a vector and an angle to rotate about the vector.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The vector to rotate around.</dd><dd><code>angle</code> - The angle to rotate around the vector.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateFromAxisAngle</h4>
|
|
<pre>public static void CreateFromAxisAngle(<a href="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</a> axis,
|
|
float angle,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Creates a Quaternion from a vector and an angle to rotate about the vector.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The vector to rotate around.</dd><dd><code>angle</code> - The angle to rotate around the vector.</dd><dd><code>result</code> - [OutAttribute] The created Quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateFromRotationMatrix</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> CreateFromRotationMatrix(<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix)</pre>
|
|
<div class="block">Creates a Quaternion from a rotation Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - The rotation Matrix to create the Quaternion from.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateFromRotationMatrix</h4>
|
|
<pre>public static void CreateFromRotationMatrix(<a href="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</a> matrix,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Creates a Quaternion from a rotation Matrix.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - The rotation Matrix to create the Quaternion from.</dd><dd><code>result</code> - [OutAttribute] The created Quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateFromYawPitchRoll(float, float, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateFromYawPitchRoll</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> CreateFromYawPitchRoll(float yaw,
|
|
float pitch,
|
|
float roll)</pre>
|
|
<div class="block">Creates a new Quaternion from specified yaw, pitch, and roll angles.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yaw</code> - The yaw angle, in radians, around the y-axis.</dd><dd><code>pitch</code> - The pitch angle, in radians, around the x-axis.</dd><dd><code>roll</code> - The roll angle, in radians, around the z-axis.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CreateFromYawPitchRoll(float, float, float, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CreateFromYawPitchRoll</h4>
|
|
<pre>public static void CreateFromYawPitchRoll(float yaw,
|
|
float pitch,
|
|
float roll,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Creates a new Quaternion from specified yaw, pitch, and roll angles.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yaw</code> - The yaw angle, in radians, around the y-axis.</dd><dd><code>pitch</code> - The pitch angle, in radians, around the x-axis.</dd><dd><code>roll</code> - The roll angle, in radians, around the z-axis.</dd><dd><code>result</code> - [OutAttribute] An existing Quaternion filled in to express the specified yaw, pitch, and roll angles.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Divide(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public void Divide(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</pre>
|
|
<div class="block">Divides the current quaternion by the specified quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Divide(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</pre>
|
|
<div class="block">Divides a Quaternion by another Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source Quaternion.</dd><dd><code>quaternion2</code> - The divisor.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Divide</h4>
|
|
<pre>public static void Divide(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Divides a Quaternion by another Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source Quaternion.</dd><dd><code>quaternion2</code> - The divisor.</dd><dd><code>result</code> - [OutAttribute] Result of the division.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dot</h4>
|
|
<pre>public static float Dot(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</pre>
|
|
<div class="block">Calculates the dot product of two Quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source Quaternion.</dd><dd><code>quaternion2</code> - Source Quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Dot</h4>
|
|
<pre>public static void Dot(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float result)</pre>
|
|
<div class="block">Calculates the dot product of two Quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source Quaternion.</dd><dd><code>quaternion2</code> - Source Quaternion.</dd><dd><code>result</code> - [OutAttribute] Dot product of the Quaternions.</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> - to make the comparison with.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Equals(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Equals</h4>
|
|
<pre>public boolean Equals(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</pre>
|
|
<div class="block">Determines whether the specified Object is equal to the Quaternion.</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/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - The Quaternion to compare with the current Quaternion.</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">Get 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="Inverse(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Inverse</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Inverse(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion)</pre>
|
|
<div class="block">Returns the inverse of a Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - Source Quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Inverse(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Inverse</h4>
|
|
<pre>public static void Inverse(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Returns the inverse of a Quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - Source Quaternion.</dd><dd><code>result</code> - [OutAttribute] The inverse of the Quaternion.</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 a Quaternion.</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 squared of a Quaternion.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Lerp</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Lerp(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount)</pre>
|
|
<div class="block">Linearly interpolates between two quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>quaternion2</code> - Source quaternion.</dd><dd><code>amount</code> - Value indicating how far to interpolate between the quaternions.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Lerp</h4>
|
|
<pre>public static void Lerp(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Linearly interpolates between two quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>quaternion2</code> - Source quaternion.</dd><dd><code>amount</code> - Value indicating how far to interpolate between the quaternions.</dd><dd><code>result</code> - [OutAttribute] The resulting quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Multiply(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public void Multiply(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</pre>
|
|
<div class="block">Multiplies the current quaternion by the specified quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source quaternion.</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 quaternion by the specified scalar value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>scaleFactor</code> - Scalar value.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Multiply(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</pre>
|
|
<div class="block">Multiplies two quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - The quaternion on the left of the multiplication.</dd><dd><code>quaternion2</code> - The quaternion on the right of the multiplication.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Multiply(Microsoft.Xna.Framework.Quaternion, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Multiply(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
float scaleFactor)</pre>
|
|
<div class="block">Multiplies a quaternion by a scalar value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>scaleFactor</code> - Scalar value.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static void Multiply(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Multiplies two quaternions.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - The quaternion on the left of the multiplication.</dd><dd><code>quaternion2</code> - The quaternion on the right of the multiplication.</dd><dd><code>result</code> - [OutAttribute] The result of the multiplication.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Multiply(Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Multiply</h4>
|
|
<pre>public static void Multiply(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
float scaleFactor,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Multiplies a quaternion by a scalar value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</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(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Negate</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Negate(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion)</pre>
|
|
<div class="block">Flips the sign of each component of the quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - Source quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Negate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Negate</h4>
|
|
<pre>public static void Negate(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Flips the sign of each component of the quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - Source quaternion.</dd><dd><code>result</code> - [OutAttribute] Negated quaternion.</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">Divides each component of the quaternion by the length of the quaternion.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="Normalize(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Normalize</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Normalize(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion)</pre>
|
|
<div class="block">Divides each component of the quaternion by the length of the quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - Source quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Normalize(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Normalize</h4>
|
|
<pre>public static void Normalize(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Divides each component of the quaternion by the length of the quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - Source quaternion.</dd><dd><code>result</code> - [OutAttribute] Normalized quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Slerp</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Slerp(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount)</pre>
|
|
<div class="block">Interpolates between two quaternions, using spherical linear interpolation.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>quaternion2</code> - Source quaternion.</dd><dd><code>amount</code> - Value that indicates how far to interpolate between the quaternions.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Slerp</h4>
|
|
<pre>public static void Slerp(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
float amount,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Interpolates between two quaternions, using spherical linear interpolation.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>quaternion2</code> - Source quaternion.</dd><dd><code>amount</code> - Value that indicates how far to interpolate between the quaternions.</dd><dd><code>result</code> - [OutAttribute] Result of the interpolation.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Subtract(Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Subtract</h4>
|
|
<pre>public void Subtract(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> other)</pre>
|
|
<div class="block">Subtracts the specified Quaternion from the current quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Source Quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Subtract</h4>
|
|
<pre>public static <a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> Subtract(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2)</pre>
|
|
<div class="block">Subtracts a quaternion from another quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>quaternion2</code> - Source quaternion.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Subtract</h4>
|
|
<pre>public static void Subtract(<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion1,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> quaternion2,
|
|
<a href="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</a> result)</pre>
|
|
<div class="block">Subtracts a quaternion from another quaternion.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion1</code> - Source quaternion.</dd><dd><code>quaternion2</code> - Source quaternion.</dd><dd><code>result</code> - [OutAttribute] Result of the subtraction.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<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>
|
|
</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/Quaternion.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/Point.html" title="class in Microsoft.Xna.Framework"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?Microsoft/Xna/Framework/Quaternion.html" target="_top">Frames</a></li>
|
|
<li><a href="Quaternion.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>
|