📄 graphicscontext3d.html
字号:
<BR> Gets the Canvas3D that created this GraphicsContext3D.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/Fog.html" title="class in javax.media.j3d">Fog</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/GraphicsContext3D.html#getFog()">getFog</A></B>()</CODE><BR> Retrieves the current Fog leaf node 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="../../../javax/media/j3d/GraphicsContext3D.html#getFrontBufferRendering()">getFrontBufferRendering</A></B>()</CODE><BR> Returns the current front buffer rendering flag.</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="../../../javax/media/j3d/GraphicsContext3D.html#getHiRes(javax.media.j3d.HiResCoord)">getHiRes</A></B>(<A HREF="../../../javax/media/j3d/HiResCoord.html" title="class in javax.media.j3d">HiResCoord</A> hiRes)</CODE><BR> Retrieves the current HiRes coordinate of this context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/Light.html" title="class in javax.media.j3d">Light</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/GraphicsContext3D.html#getLight(int)">getLight</A></B>(int index)</CODE><BR> Retrieves the index selected light.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/ModelClip.html" title="class in javax.media.j3d">ModelClip</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/GraphicsContext3D.html#getModelClip()">getModelClip</A></B>()</CODE><BR> Retrieves the current ModelClip leaf node object.</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="../../../javax/media/j3d/GraphicsContext3D.html#getModelTransform(javax.media.j3d.Transform3D)">getModelTransform</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</CODE><BR> Retrieves the current model transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/Sound.html" title="class in javax.media.j3d">Sound</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/GraphicsContext3D.html#getSound(int)">getSound</A></B>(int index)</CODE><BR> Retrieves the index selected sound.</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="../../../javax/media/j3d/GraphicsContext3D.html#getStereoMode()">getStereoMode</A></B>()</CODE><BR> Returns the current stereo mode.</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="../../../javax/media/j3d/GraphicsContext3D.html#insertLight(javax.media.j3d.Light, int)">insertLight</A></B>(<A HREF="../../../javax/media/j3d/Light.html" title="class in javax.media.j3d">Light</A> light, int index)</CODE><BR> Inserts the specified light at the specified index location.</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="../../../javax/media/j3d/GraphicsContext3D.html#insertSound(javax.media.j3d.Sound, int)">insertSound</A></B>(<A HREF="../../../javax/media/j3d/Sound.html" title="class in javax.media.j3d">Sound</A> sound, int index)</CODE><BR> Inserts the specified sound at the specified index location.</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="../../../javax/media/j3d/GraphicsContext3D.html#isSoundPlaying(int)">isSoundPlaying</A></B>(int index)</CODE><BR> Retrieves the sound playing flag.</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="../../../javax/media/j3d/GraphicsContext3D.html#multiplyModelTransform(javax.media.j3d.Transform3D)">multiplyModelTransform</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</CODE><BR> Multiplies the current model transform by the specified transform and stores the result back into the current transform.</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="../../../javax/media/j3d/GraphicsContext3D.html#numLights()">numLights</A></B>()</CODE><BR> Retrieves the current number of lights in this graphics context.</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="../../../javax/media/j3d/GraphicsContext3D.html#numSounds()">numSounds</A></B>()</CODE><BR> Retrieves the current number of sounds in this graphics context.</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="../../../javax/media/j3d/GraphicsContext3D.html#readRaster(javax.media.j3d.Raster)">readRaster</A></B>(<A HREF="../../../javax/media/j3d/Raster.html" title="class in javax.media.j3d">Raster</A> raster)</CODE><BR> Read an image from the frame buffer and copy it into the ImageComponent and/or DepthComponent objects referenced by the specified Raster object.</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="../../../javax/media/j3d/GraphicsContext3D.html#removeLight(int)">removeLight</A></B>(int index)</CODE><BR> Removes the light at the specified index location.</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="../../../javax/media/j3d/GraphicsContext3D.html#removeSound(int)">removeSound</A></B>(int index)</CODE><BR> Removes the sound at the specified index location.</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="../../../javax/media/j3d/GraphicsContext3D.html#setAppearance(javax.media.j3d.Appearance)">setAppearance</A></B>(<A HREF="../../../javax/media/j3d/Appearance.html" title="class in javax.media.j3d">Appearance</A> appearance)</CODE><BR> Sets the current Appearance object to the specified Appearance component object.</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="../../../javax/media/j3d/GraphicsContext3D.html#setAuralAttributes(javax.media.j3d.AuralAttributes)">setAuralAttributes</A></B>(<A HREF="../../../javax/media/j3d/AuralAttributes.html" title="class in javax.media.j3d">AuralAttributes</A> attributes)</CODE><BR> Sets the current AuralAttributes object to the specified AuralAttributes component object.</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="../../../javax/media/j3d/GraphicsContext3D.html#setBackground(javax.media.j3d.Background)">setBackground</A></B>(<A HREF="../../../javax/media/j3d/Background.html" title="class in javax.media.j3d">Background</A> background)</CODE><BR> Sets the current Background to the specified Background leaf node object.</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="../../../javax/media/j3d/GraphicsContext3D.html#setBufferOverride(boolean)">setBufferOverride</A></B>(boolean bufferOverride)</CODE><BR> Sets a flag that specifies whether the double buffering and stereo mode from the Canvas3D are overridden.</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="../../../javax/media/j3d/GraphicsContext3D.html#setFog(javax.media.j3d.Fog)">setFog</A></B>(<A HREF="../../../javax/media/j3d/Fog.html" title="class in javax.media.j3d">Fog</A> fog)</CODE><BR> Sets the current Fog to the specified Fog leaf node object.</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="../../../javax/media/j3d/GraphicsContext3D.html#setFrontBufferRendering(boolean)">setFrontBufferRendering</A></B>(boolean frontBufferRendering)</CODE><BR> Sets a flag that enables or disables immediate mode rendering into the front buffer of a double buffered Canvas3D.</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="../../../javax/media/j3d/GraphicsContext3D.html#setHiRes(javax.media.j3d.HiResCoord)">setHiRes</A></B>(<A HREF="../../../javax/media/j3d/HiResCoord.html" title="class in javax.media.j3d">HiResCoord</A> hiRes)</CODE><BR> Sets the HiRes coordinate of this context to the location specified by the HiRes argument.</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="../../../javax/media/j3d/GraphicsContext3D.html#setHiRes(int[], int[], int[])">setHiRes</A></B>(int[] x, int[] y, int[] z)</CODE><BR> Sets the HiRes coordinate of this context to the location specified by the parameters provided.</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="../../../javax/media/j3d/GraphicsContext3D.html#setLight(javax.media.j3d.Light, int)">setLight</A></B>(<A HREF="../../../javax/media/j3d/Light.html" title="class in javax.media.j3d">Light</A> light, int index)</CODE><BR> Replaces the specified light with the light provided.</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="../../../javax/media/j3d/GraphicsContext3D.html#setModelClip(javax.media.j3d.ModelClip)">setModelClip</A></B>(<A HREF="../../../javax/media/j3d/ModelClip.html" title="class in javax.media.j3d">ModelClip</A> modelClip)</CODE><BR> Sets the current ModelClip leaf node to the specified object.</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="../../../javax/media/j3d/GraphicsContext3D.html#setModelTransform(javax.media.j3d.Transform3D)">setModelTransform</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t)</CODE><BR> Sets the current model transform to a copy of the specified transform.</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="../../../javax/media/j3d/GraphicsContext3D.html#setSound(javax.media.j3d.Sound, int)">setSound</A></B>(<A HREF="../../../javax/media/j3d/Sound.html" title="class in javax.media.j3d">Sound</A> sound, int index)</CODE><BR> Replaces the specified sound with the sound provided.</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="../../../javax/media/j3d/GraphicsContext3D.html#setStereoMode(int)">setStereoMode</A></B>(int stereoMode)</CODE><BR> Sets the stereo mode for immediate mode rendering.</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, equals, finalize, getClass, hashCode, 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="STEREO_LEFT"><!-- --></A><H3>STEREO_LEFT</H3><PRE>public static final int <B>STEREO_LEFT</B></PRE><DL><DD>Specifies that rendering is done to the left eye.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/GraphicsContext3D.html#setStereoMode(int)"><CODE>setStereoMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.GraphicsContext3D.STEREO_LEFT">Constant Field Values</A></DL></DL><HR><A NAME="STEREO_RIGHT"><!-- --></A><H3>STEREO_RIGHT</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -