📄 scene.html
字号:
</TABLE><A NAME="getSceneGroup()"><!-- --></A><H3>getSceneGroup</H3><PRE>public <A HREF="../../../../javax/media/j3d/BranchGroup.html">BranchGroup</A> <B>getSceneGroup</B>()</PRE><DL><DD>This method returns the BranchGroup containing the overall scene loaded by the loader. All enabled items will be loaded into this scene except for Behaviors (the Behavior group must be retrieved separately so that users can choose whether and when to activate behaviors).<P><DD><DL></DL></DD></DL><HR><A NAME="getViewGroups()"><!-- --></A><H3>getViewGroups</H3><PRE>public <A HREF="../../../../javax/media/j3d/TransformGroup.html">TransformGroup</A>[] <B>getViewGroups</B>()</PRE><DL><DD>This method returns an array of all View Groups defined in the file. Each View Group is a TransformGroup that is already placed within the scene that is returned in the getSceneGroup() call. This TransformGroup holds the position/orientation of the view as defined by the file. A user might request these references to the groups in order to look at the data stored there or to place ViewPlatforms within these groups and allow the View to activate these ViewPlatforms so that the user would see the scene from the viewpoints defined in the file.<P><DD><DL></DL></DD></DL><HR><A NAME="getHorizontalFOVs()"><!-- --></A><H3>getHorizontalFOVs</H3><PRE>public float[] <B>getHorizontalFOVs</B>()</PRE><DL><DD>This method returns an array of floats with the horizontal field of view. The entries in the array will correspond to those in the array returned by the method getViewGroups. The entries from these two arrays together provide all the information needed to recreate the viewing parameters associated with a scene graph.<P><DD><DL></DL></DD></DL><HR><A NAME="getLightNodes()"><!-- --></A><H3>getLightNodes</H3><PRE>public <A HREF="../../../../javax/media/j3d/Light.html">Light</A>[] <B>getLightNodes</B>()</PRE><DL><DD>This method returns an array of all Lights defined in the file. If no lights are defined, null is returned.<P><DD><DL></DL></DD></DL><HR><A NAME="getNamedObjects()"><!-- --></A><H3>getNamedObjects</H3><PRE>public java.util.Hashtable <B>getNamedObjects</B>()</PRE><DL><DD>This method returns a Hashtable which contains a list of all named objects in the file and their associated scene graph objects. The naming scheme for file objects is file-type dependent, but may include such names as the DEF names of Vrml or filenames of objects (as in Lightwave 3D). If no named objects are defined, null is returned.<P><DD><DL></DL></DD></DL><HR><A NAME="getBackgroundNodes()"><!-- --></A><H3>getBackgroundNodes</H3><PRE>public <A HREF="../../../../javax/media/j3d/Background.html">Background</A>[] <B>getBackgroundNodes</B>()</PRE><DL><DD>This method returns an array of all Background nodes defined in the file. IF no Background nodes are defined, null is returned.<P><DD><DL></DL></DD></DL><HR><A NAME="getFogNodes()"><!-- --></A><H3>getFogNodes</H3><PRE>public <A HREF="../../../../javax/media/j3d/Fog.html">Fog</A>[] <B>getFogNodes</B>()</PRE><DL><DD>This method returns an array of all Fog nodes defined in the file. If no fog nodes are defined, null is returned.<P><DD><DL></DL></DD></DL><HR><A NAME="getBehaviorNodes()"><!-- --></A><H3>getBehaviorNodes</H3><PRE>public <A HREF="../../../../javax/media/j3d/Behavior.html">Behavior</A>[] <B>getBehaviorNodes</B>()</PRE><DL><DD>This method returns an array of all the behavior nodes in the scene. If no Behavior nodes are defined, null is returned.<P><DD><DL></DL></DD></DL><HR><A NAME="getSoundNodes()"><!-- --></A><H3>getSoundNodes</H3><PRE>public <A HREF="../../../../javax/media/j3d/Sound.html">Sound</A>[] <B>getSoundNodes</B>()</PRE><DL><DD>This method returns an array of all of the Sound nodes defined in the file. If no Sound nodes are defined, null is returned.<P><DD><DL></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public java.lang.String <B>getDescription</B>()</PRE><DL><DD>This method returns the text description of the file. If no such description exists, this method should return null.<P><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> </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="../../../../com/sun/j3d/loaders/Loader.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Scene.html" TARGET="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -