⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 locale.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DT><B>Parameters:</B><DD><CODE>universe</CODE> - the virtual universe that will contain this Locale object<DD><CODE>x</CODE> - an eight element array specifying the x position<DD><CODE>y</CODE> - an eight element array specifying the y position<DD><CODE>z</CODE> - an eight element array specifying the z position</DL><HR><A NAME="Locale(javax.media.j3d.VirtualUniverse, javax.media.j3d.HiResCoord)"><!-- --></A><H3>Locale</H3><PRE>public <B>Locale</B>(<A HREF="../../../javax/media/j3d/VirtualUniverse.html">VirtualUniverse</A>&nbsp;universe,              <A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A>&nbsp;hiRes)</PRE><DL><DD>Constructs and initializes a new high resolution Locale object at the location specified by the HiResCoord argument.<P><DT><B>Parameters:</B><DD><CODE>universe</CODE> - the virtual universe that will contain this Locale object<DD><CODE>hiRes</CODE> - the HiRes coordinate to use in creating this Locale</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getVirtualUniverse()"><!-- --></A><H3>getVirtualUniverse</H3><PRE>public <A HREF="../../../javax/media/j3d/VirtualUniverse.html">VirtualUniverse</A> <B>getVirtualUniverse</B>()</PRE><DL><DD>Retrieves the virtual universe within which this Locale object is contained.  A null reference indicates that this Locale has been removed from its VirtualUniverse.<P><DD><DL><DT><B>Returns:</B><DD>the virtual universe within which this Locale object is contained.</DL></DD></DL><HR><A NAME="setHiRes(int[], int[], int[])"><!-- --></A><H3>setHiRes</H3><PRE>public void <B>setHiRes</B>(int[]&nbsp;x,                     int[]&nbsp;y,                     int[]&nbsp;z)</PRE><DL><DD>Sets the HiRes coordinate of this Locale to the location specified by the parameters provided.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - an eight element array specifying the x position<DD><CODE>y</CODE> - an eight element array specifying the y position<DD><CODE>z</CODE> - an eight element array specifying the z position</DL></DD></DL><HR><A NAME="setHiRes(javax.media.j3d.HiResCoord)"><!-- --></A><H3>setHiRes</H3><PRE>public void <B>setHiRes</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A>&nbsp;hiRes)</PRE><DL><DD>Sets the HiRes coordinate of this Locale to the location specified by the HiRes argument.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hiRes</CODE> - the HiRes coordinate specifying this node's new location</DL></DD></DL><HR><A NAME="getHiRes(javax.media.j3d.HiResCoord)"><!-- --></A><H3>getHiRes</H3><PRE>public void <B>getHiRes</B>(<A HREF="../../../javax/media/j3d/HiResCoord.html">HiResCoord</A>&nbsp;hiRes)</PRE><DL><DD>Returns this node's HiResCoord.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hiRes</CODE> - a HiResCoord object that will receive the HiRes coordinate of this Locale node</DL></DD></DL><HR><A NAME="addBranchGraph(javax.media.j3d.BranchGroup)"><!-- --></A><H3>addBranchGraph</H3><PRE>public void <B>addBranchGraph</B>(<A HREF="../../../javax/media/j3d/BranchGroup.html">BranchGroup</A>&nbsp;branchGroup)</PRE><DL><DD>Add a new branch graph rooted at BranchGroup to  the list of branch graphs.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>branchGroup</CODE> - root of the branch graph to be added<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DD><CODE><A HREF="../../../javax/media/j3d/MultipleParentException.html">MultipleParentException</A></CODE> - if the specified BranchGroup node is already live.</DL></DD></DL><HR><A NAME="removeBranchGraph(javax.media.j3d.BranchGroup)"><!-- --></A><H3>removeBranchGraph</H3><PRE>public void <B>removeBranchGraph</B>(<A HREF="../../../javax/media/j3d/BranchGroup.html">BranchGroup</A>&nbsp;branchGroup)</PRE><DL><DD>Removes a branch graph rooted at BranchGroup from  the list of branch graphs.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>branchGroup</CODE> - root of the branch graph to be removed<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if the ALLOW_DETACH capability is not set in the specified BranchGroup node.</DL></DD></DL><HR><A NAME="replaceBranchGraph(javax.media.j3d.BranchGroup, javax.media.j3d.BranchGroup)"><!-- --></A><H3>replaceBranchGraph</H3><PRE>public void <B>replaceBranchGraph</B>(<A HREF="../../../javax/media/j3d/BranchGroup.html">BranchGroup</A>&nbsp;oldGroup,                               <A HREF="../../../javax/media/j3d/BranchGroup.html">BranchGroup</A>&nbsp;newGroup)</PRE><DL><DD>Replaces the branch graph rooted at oldGroup in the list of  branch graphs with the branch graph rooted at newGroup.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>oldGroup</CODE> - root of the branch graph to be replaced.<DD><CODE>newGroup</CODE> - root of the branch graph that will replace the old branch graph.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if the ALLOW_DETACH capability is not set in the old BranchGroup node.<DD><CODE><A HREF="../../../javax/media/j3d/MultipleParentException.html">MultipleParentException</A></CODE> - if the new BranchGroup node is already live.</DL></DD></DL><HR><A NAME="numBranchGraphs()"><!-- --></A><H3>numBranchGraphs</H3><PRE>public int <B>numBranchGraphs</B>()</PRE><DL><DD>Get number of branch graphs in this Locale.<P><DD><DL><DT><B>Returns:</B><DD>number of branch graphs in this Locale.</DL></DD></DL><HR><A NAME="getAllBranchGraphs()"><!-- --></A><H3>getAllBranchGraphs</H3><PRE>public java.util.Enumeration <B>getAllBranchGraphs</B>()</PRE><DL><DD>Gets an Enumeration object of all branch graphs in this Locale.<P><DD><DL><DT><B>Returns:</B><DD>an Enumeration object of all branch graphs.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.</DL></DD></DL><HR><A NAME="pickAll(javax.media.j3d.PickShape)"><!-- --></A><H3>pickAll</H3><PRE>public <A HREF="../../../javax/media/j3d/SceneGraphPath.html">SceneGraphPath</A>[] <B>pickAll</B>(<A HREF="../../../javax/media/j3d/PickShape.html">PickShape</A>&nbsp;pickShape)</PRE><DL><DD>Returns an array referencing all the items that are pickable below this <code>Locale</code> that intersect with PickShape. The resultant array is unordered.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pickShape</CODE> - the description of this picking volume or area.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/BranchGroup.html#pickAll(javax.media.j3d.PickShape)"><CODE>BranchGroup.pickAll(javax.media.j3d.PickShape)</CODE></A></DL></DD></DL><HR><A NAME="pickAllSorted(javax.media.j3d.PickShape)"><!-- --></A><H3>pickAllSorted</H3><PRE>public <A HREF="../../../javax/media/j3d/SceneGraphPath.html">SceneGraphPath</A>[] <B>pickAllSorted</B>(<A HREF="../../../javax/media/j3d/PickShape.html">PickShape</A>&nbsp;pickShape)</PRE><DL><DD>Returns a sorted array of references to all the Pickable items that intersect with the pickShape. Element [0] references the item closest to <i>origin</i> of PickShape successive array elements are further from the <i>origin</i> <br> NOTE: If pickShape is of type PickBounds, the resulting array is unordered.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pickShape</CODE> - the description of this picking volume or area.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/BranchGroup.html#pickAllSorted(javax.media.j3d.PickShape)"><CODE>BranchGroup.pickAllSorted(javax.media.j3d.PickShape)</CODE></A></DL></DD></DL><HR><A NAME="pickClosest(javax.media.j3d.PickShape)"><!-- --></A><H3>pickClosest</H3><PRE>public <A HREF="../../../javax/media/j3d/SceneGraphPath.html">SceneGraphPath</A> <B>pickClosest</B>(<A HREF="../../../javax/media/j3d/PickShape.html">PickShape</A>&nbsp;pickShape)</PRE><DL><DD>Returns a SceneGraphPath which references the pickable item which is closest to the origin of <code>pickShape</code>. <br> NOTE: If pickShape is of type PickBounds, the return is any pickable node below this Locale.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pickShape</CODE> - the description of this picking volume or area.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/BranchGroup.html#pickClosest(javax.media.j3d.PickShape)"><CODE>BranchGroup.pickClosest(javax.media.j3d.PickShape)</CODE></A></DL></DD></DL><HR><A NAME="pickAny(javax.media.j3d.PickShape)"><!-- --></A><H3>pickAny</H3><PRE>public <A HREF="../../../javax/media/j3d/SceneGraphPath.html">SceneGraphPath</A> <B>pickAny</B>(<A HREF="../../../javax/media/j3d/PickShape.html">PickShape</A>&nbsp;pickShape)</PRE><DL><DD>Returns a reference to any item that is Pickable below this Locale which intersects with <code>pickShape</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pickShape</CODE> - the description of this picking volume or area.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this Locale has been removed from its VirtualUniverse.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/BranchGroup.html#pickAny(javax.media.j3d.PickShape)"><CODE>BranchGroup.pickAny(javax.media.j3d.PickShape)</CODE></A></DL></DD></DL><HR><A NAME="finalize()"><!-- --></A><H3>finalize</H3><PRE>protected void <B>finalize</B>()</PRE><DL><DD>Cleans up resources associated with this Locale<P><DD><DL><DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/media/j3d/Link.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/LOD.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Locale.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -