1577 lines
76 KiB
HTML
1577 lines
76 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 15 20:18:21 CEST 2012 -->
|
|
<TITLE>
|
|
Quaternion
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2012-04-15">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Quaternion";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Quaternion.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../Microsoft/Xna/Framework/Point.html" title="class in Microsoft.Xna.Framework"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?Microsoft/Xna/Framework/Quaternion.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Quaternion.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
Microsoft.Xna.Framework</FONT>
|
|
<BR>
|
|
Class Quaternion</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../System/ValueType.html" title="class in System">System.ValueType</A>
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>Microsoft.Xna.Framework.Quaternion</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <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>
|
|
<DL>
|
|
<DT><PRE>public final class <B>Quaternion</B><DT>extends <A HREF="../../../System/ValueType.html" title="class in System">ValueType</A><DT>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>></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
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).
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Halofreak1990</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Identity">Identity</A></B></CODE>
|
|
|
|
<BR>
|
|
Returns a Quaternion representing no rotation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#W">W</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the rotation component of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#X">X</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the x-value of the vector component of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Y">Y</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the y-value of the vector component of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Z">Z</A></B></CODE>
|
|
|
|
<BR>
|
|
Specifies the z-value of the vector component of the quaternion.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Quaternion()">Quaternion</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Initializes a new instance of Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Quaternion(float, float, float, float)">Quaternion</A></B>(float x,
|
|
float y,
|
|
float z,
|
|
float w)</CODE>
|
|
|
|
<BR>
|
|
Initializes a new instance of Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Quaternion(Microsoft.Xna.Framework.Vector3, float)">Quaternion</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> vectorPart,
|
|
float scalarPart)</CODE>
|
|
|
|
<BR>
|
|
Initializes a new instance of Quaternion.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Add(Microsoft.Xna.Framework.Quaternion)">Add</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</CODE>
|
|
|
|
<BR>
|
|
Adds the specified quaternion to the current quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Add</A></B>(<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>
|
|
|
|
<BR>
|
|
Adds two Quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Add</A></B>(<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>
|
|
|
|
<BR>
|
|
Adds two Quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Concatenate</A></B>(<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>
|
|
|
|
<BR>
|
|
Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Concatenate</A></B>(<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>
|
|
|
|
<BR>
|
|
Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Conjugate()">Conjugate</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Transforms this Quaternion into its conjugate.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Conjugate(Microsoft.Xna.Framework.Quaternion)">Conjugate</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> value)</CODE>
|
|
|
|
<BR>
|
|
Returns the conjugate of a specified Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Conjugate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Conjugate</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns the conjugate of a specified Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float)">CreateFromAxisAngle</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> axis,
|
|
float angle)</CODE>
|
|
|
|
<BR>
|
|
Creates a Quaternion from a vector and an angle to rotate about the vector.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float, Microsoft.Xna.Framework.Quaternion)">CreateFromAxisAngle</A></B>(<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>
|
|
|
|
<BR>
|
|
Creates a Quaternion from a vector and an angle to rotate about the vector.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix)">CreateFromRotationMatrix</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A> matrix)</CODE>
|
|
|
|
<BR>
|
|
Creates a Quaternion from a rotation Matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Quaternion)">CreateFromRotationMatrix</A></B>(<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>
|
|
|
|
<BR>
|
|
Creates a Quaternion from a rotation Matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromYawPitchRoll(float, float, float)">CreateFromYawPitchRoll</A></B>(float yaw,
|
|
float pitch,
|
|
float roll)</CODE>
|
|
|
|
<BR>
|
|
Creates a new Quaternion from specified yaw, pitch, and roll angles.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#CreateFromYawPitchRoll(float, float, float, Microsoft.Xna.Framework.Quaternion)">CreateFromYawPitchRoll</A></B>(float yaw,
|
|
float pitch,
|
|
float roll,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> result)</CODE>
|
|
|
|
<BR>
|
|
Creates a new Quaternion from specified yaw, pitch, and roll angles.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Divide(Microsoft.Xna.Framework.Quaternion)">Divide</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</CODE>
|
|
|
|
<BR>
|
|
Divides the current quaternion by the specified quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Divide</A></B>(<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>
|
|
|
|
<BR>
|
|
Divides a Quaternion by another Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Divide</A></B>(<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>
|
|
|
|
<BR>
|
|
Divides a Quaternion by another Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Dot</A></B>(<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>
|
|
|
|
<BR>
|
|
Calculates the dot product of two Quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">Dot</A></B>(<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>
|
|
|
|
<BR>
|
|
Calculates the dot product of two Quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE>
|
|
|
|
<BR>
|
|
Returns a value that indicates whether the current instance is equal to a specified object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Equals(Microsoft.Xna.Framework.Quaternion)">Equals</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</CODE>
|
|
|
|
<BR>
|
|
Determines whether the specified Object is equal to the Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#hashCode()">hashCode</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Get the hash code of this object.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Inverse(Microsoft.Xna.Framework.Quaternion)">Inverse</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion)</CODE>
|
|
|
|
<BR>
|
|
Returns the inverse of a Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Inverse(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Inverse</A></B>(<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>
|
|
|
|
<BR>
|
|
Returns the inverse of a Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Length()">Length</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Calculates the length of a Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#LengthSquared()">LengthSquared</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Calculates the length squared of a Quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">Lerp</A></B>(<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>
|
|
|
|
<BR>
|
|
Linearly interpolates between two quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">Lerp</A></B>(<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>
|
|
|
|
<BR>
|
|
Linearly interpolates between two quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(float)">Multiply</A></B>(float scaleFactor)</CODE>
|
|
|
|
<BR>
|
|
Multiplies the current quaternion by the specified scalar value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion)">Multiply</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</CODE>
|
|
|
|
<BR>
|
|
Multiplies the current quaternion by the specified quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, float)">Multiply</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion1,
|
|
float scaleFactor)</CODE>
|
|
|
|
<BR>
|
|
Multiplies a quaternion by a scalar value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">Multiply</A></B>(<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>
|
|
|
|
<BR>
|
|
Multiplies a quaternion by a scalar value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Multiply</A></B>(<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>
|
|
|
|
<BR>
|
|
Multiplies two quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Multiply</A></B>(<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>
|
|
|
|
<BR>
|
|
Multiplies two quaternions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Negate(Microsoft.Xna.Framework.Quaternion)">Negate</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion)</CODE>
|
|
|
|
<BR>
|
|
Flips the sign of each component of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Negate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Negate</A></B>(<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>
|
|
|
|
<BR>
|
|
Flips the sign of each component of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Normalize()">Normalize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Divides each component of the quaternion by the length of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Normalize(Microsoft.Xna.Framework.Quaternion)">Normalize</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion)</CODE>
|
|
|
|
<BR>
|
|
Divides each component of the quaternion by the length of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Normalize(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Normalize</A></B>(<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>
|
|
|
|
<BR>
|
|
Divides each component of the quaternion by the length of the quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)">Slerp</A></B>(<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>
|
|
|
|
<BR>
|
|
Interpolates between two quaternions, using spherical linear interpolation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)">Slerp</A></B>(<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>
|
|
|
|
<BR>
|
|
Interpolates between two quaternions, using spherical linear interpolation.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Subtract(Microsoft.Xna.Framework.Quaternion)">Subtract</A></B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</CODE>
|
|
|
|
<BR>
|
|
Subtracts the specified Quaternion from the current quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Subtract</A></B>(<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>
|
|
|
|
<BR>
|
|
Subtracts a quaternion from another quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)">Subtract</A></B>(<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>
|
|
|
|
<BR>
|
|
Subtracts a quaternion from another quaternion.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../Microsoft/Xna/Framework/Quaternion.html#ToString()">ToString</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Identity"><!-- --></A><H3>
|
|
Identity</H3>
|
|
<PRE>
|
|
public final <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Identity</B></PRE>
|
|
<DL>
|
|
<DD>Returns a Quaternion representing no rotation.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="X"><!-- --></A><H3>
|
|
X</H3>
|
|
<PRE>
|
|
public float <B>X</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the x-value of the vector component of the quaternion.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Y"><!-- --></A><H3>
|
|
Y</H3>
|
|
<PRE>
|
|
public float <B>Y</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the y-value of the vector component of the quaternion.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Z"><!-- --></A><H3>
|
|
Z</H3>
|
|
<PRE>
|
|
public float <B>Z</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the z-value of the vector component of the quaternion.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="W"><!-- --></A><H3>
|
|
W</H3>
|
|
<PRE>
|
|
public float <B>W</B></PRE>
|
|
<DL>
|
|
<DD>Specifies the rotation component of the quaternion.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Quaternion(Microsoft.Xna.Framework.Vector3, float)"><!-- --></A><H3>
|
|
Quaternion</H3>
|
|
<PRE>
|
|
public <B>Quaternion</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> vectorPart,
|
|
float scalarPart)</PRE>
|
|
<DL>
|
|
<DD>Initializes a new instance of Quaternion.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>vectorPart</CODE> - The vector component of the quaternion.<DD><CODE>scalarPart</CODE> - The rotation component of the quaternion.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Quaternion(float, float, float, float)"><!-- --></A><H3>
|
|
Quaternion</H3>
|
|
<PRE>
|
|
public <B>Quaternion</B>(float x,
|
|
float y,
|
|
float z,
|
|
float w)</PRE>
|
|
<DL>
|
|
<DD>Initializes a new instance of Quaternion.
|
|
<P>
|
|
<DL>
|
|
<DT><B>Parameters:</B><DD><CODE>x</CODE> - The x-value of the quaternion.<DD><CODE>y</CODE> - The y-value of the quaternion.<DD><CODE>z</CODE> - The z-value of the quaternion.<DD><CODE>w</CODE> - The w-value of the quaternion.</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Quaternion()"><!-- --></A><H3>
|
|
Quaternion</H3>
|
|
<PRE>
|
|
public <B>Quaternion</B>()</PRE>
|
|
<DL>
|
|
<DD>Initializes a new instance of Quaternion.
|
|
<P>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Add(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Add</H3>
|
|
<PRE>
|
|
public void <B>Add</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</PRE>
|
|
<DL>
|
|
<DD>Adds the specified quaternion to the current quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>other</CODE> - Source quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Add</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Add</B>(<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>
|
|
<DL>
|
|
<DD>Adds two Quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Quaternion to add.<DD><CODE>quaternion2</CODE> - Quaternion to add.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Add(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Add</H3>
|
|
<PRE>
|
|
public static void <B>Add</B>(<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>
|
|
<DL>
|
|
<DD>Adds two Quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Quaternion to add.<DD><CODE>quaternion2</CODE> - Quaternion to add.<DD><CODE>result</CODE> - [OutAttribute] Result of adding the Quaternions.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Concatenate</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Concatenate</B>(<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>
|
|
<DL>
|
|
<DD>Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first Quaternion rotation in the series.<DD><CODE>value2</CODE> - The second Quaternion rotation in the series.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Concatenate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Concatenate</H3>
|
|
<PRE>
|
|
public static void <B>Concatenate</B>(<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>
|
|
<DL>
|
|
<DD>Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first Quaternion rotation in the series.<DD><CODE>value2</CODE> - The second Quaternion rotation in the series.<DD><CODE>result</CODE> - [OutAttribute] The Quaternion rotation representing the concatenation of value1 followed by value2.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Conjugate()"><!-- --></A><H3>
|
|
Conjugate</H3>
|
|
<PRE>
|
|
public void <B>Conjugate</B>()</PRE>
|
|
<DL>
|
|
<DD>Transforms this Quaternion into its conjugate.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Conjugate(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Conjugate</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Conjugate</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> value)</PRE>
|
|
<DL>
|
|
<DD>Returns the conjugate of a specified Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Quaternion of which to return the conjugate.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Conjugate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Conjugate</H3>
|
|
<PRE>
|
|
public static void <B>Conjugate</B>(<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>
|
|
<DL>
|
|
<DD>Returns the conjugate of a specified Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The Quaternion of which to return the conjugate.<DD><CODE>result</CODE> - [OutAttribute] An existing Quaternion filled in to be the conjugate of the specified one.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float)"><!-- --></A><H3>
|
|
CreateFromAxisAngle</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>CreateFromAxisAngle</B>(<A HREF="../../../Microsoft/Xna/Framework/Vector3.html" title="class in Microsoft.Xna.Framework">Vector3</A> axis,
|
|
float angle)</PRE>
|
|
<DL>
|
|
<DD>Creates a Quaternion from a vector and an angle to rotate about the vector.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>axis</CODE> - The vector to rotate around.<DD><CODE>angle</CODE> - The angle to rotate around the vector.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3, float, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
CreateFromAxisAngle</H3>
|
|
<PRE>
|
|
public static void <B>CreateFromAxisAngle</B>(<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>
|
|
<DL>
|
|
<DD>Creates a Quaternion from a vector and an angle to rotate about the vector.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>axis</CODE> - The vector to rotate around.<DD><CODE>angle</CODE> - The angle to rotate around the vector.<DD><CODE>result</CODE> - [OutAttribute] The created Quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix)"><!-- --></A><H3>
|
|
CreateFromRotationMatrix</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>CreateFromRotationMatrix</B>(<A HREF="../../../Microsoft/Xna/Framework/Matrix.html" title="class in Microsoft.Xna.Framework">Matrix</A> matrix)</PRE>
|
|
<DL>
|
|
<DD>Creates a Quaternion from a rotation Matrix.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>matrix</CODE> - The rotation Matrix to create the Quaternion from.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CreateFromRotationMatrix(Microsoft.Xna.Framework.Matrix, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
CreateFromRotationMatrix</H3>
|
|
<PRE>
|
|
public static void <B>CreateFromRotationMatrix</B>(<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>
|
|
<DL>
|
|
<DD>Creates a Quaternion from a rotation Matrix.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>matrix</CODE> - The rotation Matrix to create the Quaternion from.<DD><CODE>result</CODE> - [OutAttribute] The created Quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CreateFromYawPitchRoll(float, float, float)"><!-- --></A><H3>
|
|
CreateFromYawPitchRoll</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>CreateFromYawPitchRoll</B>(float yaw,
|
|
float pitch,
|
|
float roll)</PRE>
|
|
<DL>
|
|
<DD>Creates a new Quaternion from specified yaw, pitch, and roll angles.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>yaw</CODE> - The yaw angle, in radians, around the y-axis.<DD><CODE>pitch</CODE> - The pitch angle, in radians, around the x-axis.<DD><CODE>roll</CODE> - The roll angle, in radians, around the z-axis.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="CreateFromYawPitchRoll(float, float, float, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
CreateFromYawPitchRoll</H3>
|
|
<PRE>
|
|
public static void <B>CreateFromYawPitchRoll</B>(float yaw,
|
|
float pitch,
|
|
float roll,
|
|
<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> result)</PRE>
|
|
<DL>
|
|
<DD>Creates a new Quaternion from specified yaw, pitch, and roll angles.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>yaw</CODE> - The yaw angle, in radians, around the y-axis.<DD><CODE>pitch</CODE> - The pitch angle, in radians, around the x-axis.<DD><CODE>roll</CODE> - The roll angle, in radians, around the z-axis.<DD><CODE>result</CODE> - [OutAttribute] An existing Quaternion filled in to express the specified yaw, pitch, and roll angles.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Divide(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Divide</H3>
|
|
<PRE>
|
|
public void <B>Divide</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</PRE>
|
|
<DL>
|
|
<DD>Divides the current quaternion by the specified quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>other</CODE> - Source quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Divide</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Divide</B>(<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>
|
|
<DL>
|
|
<DD>Divides a Quaternion by another Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source Quaternion.<DD><CODE>quaternion2</CODE> - The divisor.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Divide(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Divide</H3>
|
|
<PRE>
|
|
public static void <B>Divide</B>(<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>
|
|
<DL>
|
|
<DD>Divides a Quaternion by another Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source Quaternion.<DD><CODE>quaternion2</CODE> - The divisor.<DD><CODE>result</CODE> - [OutAttribute] Result of the division.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Dot</H3>
|
|
<PRE>
|
|
public static float <B>Dot</B>(<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>
|
|
<DL>
|
|
<DD>Calculates the dot product of two Quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source Quaternion.<DD><CODE>quaternion2</CODE> - Source Quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Dot(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)"><!-- --></A><H3>
|
|
Dot</H3>
|
|
<PRE>
|
|
public static void <B>Dot</B>(<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>
|
|
<DL>
|
|
<DD>Calculates the dot product of two Quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source Quaternion.<DD><CODE>quaternion2</CODE> - Source Quaternion.<DD><CODE>result</CODE> - [OutAttribute] Dot product of the Quaternions.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
|
equals</H3>
|
|
<PRE>
|
|
public boolean <B>equals</B>(java.lang.Object obj)</PRE>
|
|
<DL>
|
|
<DD>Returns a value that indicates whether the current instance is equal to a specified object.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - to make the comparison with.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Equals(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Equals</H3>
|
|
<PRE>
|
|
public boolean <B>Equals</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</PRE>
|
|
<DL>
|
|
<DD>Determines whether the specified Object is equal to the Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><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></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>other</CODE> - The Quaternion to compare with the current Quaternion.
|
|
<DT><B>Returns:</B><DD>true if the current object is equal to the other parameter; otherwise, false.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="hashCode()"><!-- --></A><H3>
|
|
hashCode</H3>
|
|
<PRE>
|
|
public int <B>hashCode</B>()</PRE>
|
|
<DL>
|
|
<DD>Get the hash code of this object.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Inverse(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Inverse</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Inverse</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion)</PRE>
|
|
<DL>
|
|
<DD>Returns the inverse of a Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - Source Quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Inverse(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Inverse</H3>
|
|
<PRE>
|
|
public static void <B>Inverse</B>(<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>
|
|
<DL>
|
|
<DD>Returns the inverse of a Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - Source Quaternion.<DD><CODE>result</CODE> - [OutAttribute] The inverse of the Quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Length()"><!-- --></A><H3>
|
|
Length</H3>
|
|
<PRE>
|
|
public float <B>Length</B>()</PRE>
|
|
<DL>
|
|
<DD>Calculates the length of a Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="LengthSquared()"><!-- --></A><H3>
|
|
LengthSquared</H3>
|
|
<PRE>
|
|
public float <B>LengthSquared</B>()</PRE>
|
|
<DL>
|
|
<DD>Calculates the length squared of a Quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)"><!-- --></A><H3>
|
|
Lerp</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Lerp</B>(<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>
|
|
<DL>
|
|
<DD>Linearly interpolates between two quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>quaternion2</CODE> - Source quaternion.<DD><CODE>amount</CODE> - Value indicating how far to interpolate between the quaternions.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Lerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Lerp</H3>
|
|
<PRE>
|
|
public static void <B>Lerp</B>(<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>
|
|
<DL>
|
|
<DD>Linearly interpolates between two quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>quaternion2</CODE> - Source quaternion.<DD><CODE>amount</CODE> - Value indicating how far to interpolate between the quaternions.<DD><CODE>result</CODE> - [OutAttribute] The resulting quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Multiply(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Multiply</H3>
|
|
<PRE>
|
|
public void <B>Multiply</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</PRE>
|
|
<DL>
|
|
<DD>Multiplies the current quaternion by the specified quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>other</CODE> - Source quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Multiply(float)"><!-- --></A><H3>
|
|
Multiply</H3>
|
|
<PRE>
|
|
public void <B>Multiply</B>(float scaleFactor)</PRE>
|
|
<DL>
|
|
<DD>Multiplies the current quaternion by the specified scalar value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>scaleFactor</CODE> - Scalar value.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Multiply</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Multiply</B>(<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>
|
|
<DL>
|
|
<DD>Multiplies two quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - The quaternion on the left of the multiplication.<DD><CODE>quaternion2</CODE> - The quaternion on the right of the multiplication.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Multiply(Microsoft.Xna.Framework.Quaternion, float)"><!-- --></A><H3>
|
|
Multiply</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Multiply</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion1,
|
|
float scaleFactor)</PRE>
|
|
<DL>
|
|
<DD>Multiplies a quaternion by a scalar value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>scaleFactor</CODE> - Scalar value.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Multiply(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Multiply</H3>
|
|
<PRE>
|
|
public static void <B>Multiply</B>(<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>
|
|
<DL>
|
|
<DD>Multiplies two quaternions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - The quaternion on the left of the multiplication.<DD><CODE>quaternion2</CODE> - The quaternion on the right of the multiplication.<DD><CODE>result</CODE> - [OutAttribute] The result of the multiplication.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Multiply(Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Multiply</H3>
|
|
<PRE>
|
|
public static void <B>Multiply</B>(<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>
|
|
<DL>
|
|
<DD>Multiplies a quaternion by a scalar value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>scaleFactor</CODE> - Scalar value.<DD><CODE>result</CODE> - [OutAttribute] The result of the multiplication.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Negate(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Negate</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Negate</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion)</PRE>
|
|
<DL>
|
|
<DD>Flips the sign of each component of the quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - Source quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Negate(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Negate</H3>
|
|
<PRE>
|
|
public static void <B>Negate</B>(<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>
|
|
<DL>
|
|
<DD>Flips the sign of each component of the quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - Source quaternion.<DD><CODE>result</CODE> - [OutAttribute] Negated quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Normalize()"><!-- --></A><H3>
|
|
Normalize</H3>
|
|
<PRE>
|
|
public void <B>Normalize</B>()</PRE>
|
|
<DL>
|
|
<DD>Divides each component of the quaternion by the length of the quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Normalize(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Normalize</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Normalize</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> quaternion)</PRE>
|
|
<DL>
|
|
<DD>Divides each component of the quaternion by the length of the quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - Source quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Normalize(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Normalize</H3>
|
|
<PRE>
|
|
public static void <B>Normalize</B>(<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>
|
|
<DL>
|
|
<DD>Divides each component of the quaternion by the length of the quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion</CODE> - Source quaternion.<DD><CODE>result</CODE> - [OutAttribute] Normalized quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)"><!-- --></A><H3>
|
|
Slerp</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Slerp</B>(<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>
|
|
<DL>
|
|
<DD>Interpolates between two quaternions, using spherical linear interpolation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>quaternion2</CODE> - Source quaternion.<DD><CODE>amount</CODE> - Value that indicates how far to interpolate between the quaternions.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Slerp(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Slerp</H3>
|
|
<PRE>
|
|
public static void <B>Slerp</B>(<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>
|
|
<DL>
|
|
<DD>Interpolates between two quaternions, using spherical linear interpolation.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>quaternion2</CODE> - Source quaternion.<DD><CODE>amount</CODE> - Value that indicates how far to interpolate between the quaternions.<DD><CODE>result</CODE> - [OutAttribute] Result of the interpolation.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Subtract(Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Subtract</H3>
|
|
<PRE>
|
|
public void <B>Subtract</B>(<A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> other)</PRE>
|
|
<DL>
|
|
<DD>Subtracts the specified Quaternion from the current quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>other</CODE> - Source Quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Subtract</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../Microsoft/Xna/Framework/Quaternion.html" title="class in Microsoft.Xna.Framework">Quaternion</A> <B>Subtract</B>(<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>
|
|
<DL>
|
|
<DD>Subtracts a quaternion from another quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>quaternion2</CODE> - Source quaternion.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="Subtract(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion)"><!-- --></A><H3>
|
|
Subtract</H3>
|
|
<PRE>
|
|
public static void <B>Subtract</B>(<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>
|
|
<DL>
|
|
<DD>Subtracts a quaternion from another quaternion.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>quaternion1</CODE> - Source quaternion.<DD><CODE>quaternion2</CODE> - Source quaternion.<DD><CODE>result</CODE> - [OutAttribute] Result of the subtraction.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ToString()"><!-- --></A><H3>
|
|
ToString</H3>
|
|
<PRE>
|
|
public java.lang.String <B>ToString</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Quaternion.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../Microsoft/Xna/Framework/Point.html" title="class in Microsoft.Xna.Framework"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../Microsoft/Xna/Framework/Ray.html" title="class in Microsoft.Xna.Framework"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?Microsoft/Xna/Framework/Quaternion.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Quaternion.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|