📄 wakeuponcollisionexit.html
字号:
<A NAME="USE_GEOMETRY"><!-- --></A><H3>USE_GEOMETRY</H3><PRE>public static final int <B>USE_GEOMETRY</B></PRE><DL><DD>Use geometry in computing collisions.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.WakeupOnCollisionExit.USE_GEOMETRY">Constant Field Values</A></DL></DL><HR><A NAME="USE_BOUNDS"><!-- --></A><H3>USE_BOUNDS</H3><PRE>public static final int <B>USE_BOUNDS</B></PRE><DL><DD>Use geometric bounds as an approximation in computing collisions.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.WakeupOnCollisionExit.USE_BOUNDS">Constant Field Values</A></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="WakeupOnCollisionExit(javax.media.j3d.SceneGraphPath)"><!-- --></A><H3>WakeupOnCollisionExit</H3><PRE>public <B>WakeupOnCollisionExit</B>(<A HREF="../../../javax/media/j3d/SceneGraphPath.html" title="class in javax.media.j3d">SceneGraphPath</A> armingPath)</PRE><DL><DD>Constructs a new WakeupOnCollisionExit criterion.<P><DL><DT><B>Parameters:</B><DD><CODE>armingPath</CODE> - the path used to <em>arm</em> collision detection<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if object associated with the SceneGraphPath is other than a Group, Shape3D, Morph, or BoundingLeaf node.</DL></DL><HR><A NAME="WakeupOnCollisionExit(javax.media.j3d.SceneGraphPath, int)"><!-- --></A><H3>WakeupOnCollisionExit</H3><PRE>public <B>WakeupOnCollisionExit</B>(<A HREF="../../../javax/media/j3d/SceneGraphPath.html" title="class in javax.media.j3d">SceneGraphPath</A> armingPath, int speedHint)</PRE><DL><DD>Constructs a new WakeupOnCollisionExit criterion.<P><DL><DT><B>Parameters:</B><DD><CODE>armingPath</CODE> - the path used to <em>arm</em> collision detection<DD><CODE>speedHint</CODE> - one of USE_GEOMETRY or USE_BOUNDS, specifies how accurately Java 3D will perform collision detection<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if hint is not one of USE_GEOMETRY or USE_BOUNDS.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if object associated with the SceneGraphPath is other than a Group, Shape3D, Morph, or BoundingLeaf node.</DL></DL><HR><A NAME="WakeupOnCollisionExit(javax.media.j3d.Node)"><!-- --></A><H3>WakeupOnCollisionExit</H3><PRE>public <B>WakeupOnCollisionExit</B>(<A HREF="../../../javax/media/j3d/Node.html" title="class in javax.media.j3d">Node</A> armingNode)</PRE><DL><DD>Constructs a new WakeupOnCollisionExit criterion.<P><DL><DT><B>Parameters:</B><DD><CODE>armingNode</CODE> - the Group, Shape, or Morph node used to <em>arm</em> collision detection<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if object is under a SharedGroup node or object is other than a Group, Shape3D, Morph or BoundingLeaf node.</DL></DL><HR><A NAME="WakeupOnCollisionExit(javax.media.j3d.Node, int)"><!-- --></A><H3>WakeupOnCollisionExit</H3><PRE>public <B>WakeupOnCollisionExit</B>(<A HREF="../../../javax/media/j3d/Node.html" title="class in javax.media.j3d">Node</A> armingNode, int speedHint)</PRE><DL><DD>Constructs a new WakeupOnCollisionExit criterion.<P><DL><DT><B>Parameters:</B><DD><CODE>armingNode</CODE> - the Group, Shape, or Morph node used to <em>arm</em> collision detection<DD><CODE>speedHint</CODE> - one of USE_GEOMETRY or USE_BOUNDS, specifies how accurately Java 3D will perform collision detection<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if hint is not one of USE_GEOMETRY or USE_BOUNDS.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if object is under a SharedGroup node or object is other than a Group, Shape3D, Morph or BoundingLeaf node.</DL></DL><HR><A NAME="WakeupOnCollisionExit(javax.media.j3d.Bounds)"><!-- --></A><H3>WakeupOnCollisionExit</H3><PRE>public <B>WakeupOnCollisionExit</B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A> armingBounds)</PRE><DL><DD>Constructs a new WakeupOnCollisionExit criterion.<P><DL><DT><B>Parameters:</B><DD><CODE>armingBounds</CODE> - the bounds object used to <em>arm</em> collision detection</DL></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="getArmingPath()"><!-- --></A><H3>getArmingPath</H3><PRE>public <A HREF="../../../javax/media/j3d/SceneGraphPath.html" title="class in javax.media.j3d">SceneGraphPath</A> <B>getArmingPath</B>()</PRE><DL><DD>Returns the path used in specifying the collision condition.<P><DD><DL><DT><B>Returns:</B><DD>the SceneGraphPath object generated when arming this criterion---null implies that a bounds object armed this criteria</DL></DD></DL><HR><A NAME="getArmingBounds()"><!-- --></A><H3>getArmingBounds</H3><PRE>public <A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A> <B>getArmingBounds</B>()</PRE><DL><DD>Returns the bounds object used in specifying the collision condition.<P><DD><DL><DT><B>Returns:</B><DD>the Bounds object generated when arming this criterion---null implies that a SceneGraphPath armed this criteria</DL></DD></DL><HR><A NAME="getTriggeringPath()"><!-- --></A><H3>getTriggeringPath</H3><PRE>public <A HREF="../../../javax/media/j3d/SceneGraphPath.html" title="class in javax.media.j3d">SceneGraphPath</A> <B>getTriggeringPath</B>()</PRE><DL><DD>Retrieves the path describing the object causing the collision.<P><DD><DL><DT><B>Returns:</B><DD>the SceneGraphPath that describes the triggering object.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if not called from within the a behavior's processStimulus method which was awoken by a collision.</DL></DD></DL><HR><A NAME="getTriggeringBounds()"><!-- --></A><H3>getTriggeringBounds</H3><PRE>public <A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A> <B>getTriggeringBounds</B>()</PRE><DL><DD>Retrieves the Bounds object that caused the collision<P><DD><DL><DT><B>Returns:</B><DD>the colliding Bounds object.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if not called from within the a behavior's processStimulus method which was awoken by a collision.</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="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-all.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="../../../javax/media/j3d/WakeupOnCollisionEntry.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/WakeupOnCollisionMovement.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/media/j3d/WakeupOnCollisionExit.html" target="_top"><B>FRAMES</B></A> <A HREF="WakeupOnCollisionExit.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><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -