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

📄 shape3d.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 5 页
字号:
ALLOW_GEOMETRY_READ</H3><PRE>public static final int <B>ALLOW_GEOMETRY_READ</B></PRE><DL><DD>Specifies that the node allows read access to its geometry information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_GEOMETRY_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_GEOMETRY_WRITE"><!-- --></A><H3>ALLOW_GEOMETRY_WRITE</H3><PRE>public static final int <B>ALLOW_GEOMETRY_WRITE</B></PRE><DL><DD>Specifies that the node allows write access to its geometry information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_GEOMETRY_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_APPEARANCE_READ"><!-- --></A><H3>ALLOW_APPEARANCE_READ</H3><PRE>public static final int <B>ALLOW_APPEARANCE_READ</B></PRE><DL><DD>Specifies that the node allows read access to its appearance information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_APPEARANCE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_APPEARANCE_WRITE"><!-- --></A><H3>ALLOW_APPEARANCE_WRITE</H3><PRE>public static final int <B>ALLOW_APPEARANCE_WRITE</B></PRE><DL><DD>Specifies that the node allows write access to its appearance information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_APPEARANCE_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_COLLISION_BOUNDS_READ"><!-- --></A><H3>ALLOW_COLLISION_BOUNDS_READ</H3><PRE>public static final int <B>ALLOW_COLLISION_BOUNDS_READ</B></PRE><DL><DD>Specifies that the node allows reading its collision Bounds<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_COLLISION_BOUNDS_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_COLLISION_BOUNDS_WRITE"><!-- --></A><H3>ALLOW_COLLISION_BOUNDS_WRITE</H3><PRE>public static final int <B>ALLOW_COLLISION_BOUNDS_WRITE</B></PRE><DL><DD>Specifies the node allows writing its collision Bounds<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_COLLISION_BOUNDS_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_APPEARANCE_OVERRIDE_READ"><!-- --></A><H3>ALLOW_APPEARANCE_OVERRIDE_READ</H3><PRE>public static final int <B>ALLOW_APPEARANCE_OVERRIDE_READ</B></PRE><DL><DD>Specifies that this node allows reading its appearance override enable flag.<P><DL><DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_APPEARANCE_OVERRIDE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_APPEARANCE_OVERRIDE_WRITE"><!-- --></A><H3>ALLOW_APPEARANCE_OVERRIDE_WRITE</H3><PRE>public static final int <B>ALLOW_APPEARANCE_OVERRIDE_WRITE</B></PRE><DL><DD>Specifies that this node allows writing its appearance override enable flag.<P><DL><DT><B>Since:</B></DT>  <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Shape3D.ALLOW_APPEARANCE_OVERRIDE_WRITE">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="Shape3D()"><!-- --></A><H3>Shape3D</H3><PRE>public <B>Shape3D</B>()</PRE><DL><DD>Constructs a Shape3D node with default parameters.  The default values are as follows: <ul> appearance : null<br> geometry : { null }<br> collision bounds : null<br> appearance override enable : false<br> </ul> The list of geometry components is initialized with a null geometry component as the single element with an index of 0. A null geometry component specifies that no geometry is drawn. A null appearance component specifies that default values are used for all appearance attributes.<P></DL><HR><A NAME="Shape3D(javax.media.j3d.Geometry)"><!-- --></A><H3>Shape3D</H3><PRE>public <B>Shape3D</B>(<A HREF="../../../javax/media/j3d/Geometry.html" title="class in javax.media.j3d">Geometry</A>&nbsp;geometry)</PRE><DL><DD>Constructs and initializes a Shape3D node with the specified geometry component and a null appearance component. The list of geometry components is initialized with the specified geometry component as the single element with an index of 0. A null appearance component specifies that default values are used for all appearance attributes.<P><DL><DT><B>Parameters:</B><DD><CODE>geometry</CODE> - the geometry component with which to initialize this shape node.</DL></DL><HR><A NAME="Shape3D(javax.media.j3d.Geometry, javax.media.j3d.Appearance)"><!-- --></A><H3>Shape3D</H3><PRE>public <B>Shape3D</B>(<A HREF="../../../javax/media/j3d/Geometry.html" title="class in javax.media.j3d">Geometry</A>&nbsp;geometry,               <A HREF="../../../javax/media/j3d/Appearance.html" title="class in javax.media.j3d">Appearance</A>&nbsp;appearance)</PRE><DL><DD>Constructs and initializes a Shape3D node with the specified geometry and appearance components. The list of geometry components is initialized with the specified geometry component as the single element with an index of 0.<P><DL><DT><B>Parameters:</B><DD><CODE>geometry</CODE> - the geometry component with which to initialize this shape node<DD><CODE>appearance</CODE> - the appearance component of the shape node</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="setCollisionBounds(javax.media.j3d.Bounds)"><!-- --></A><H3>setCollisionBounds</H3><PRE>public void <B>setCollisionBounds</B>(<A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A>&nbsp;bounds)</PRE><DL><DD>Sets the collision bounds of a node.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the collision bounding object for a node<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="getCollisionBounds()"><!-- --></A><H3>getCollisionBounds</H3><PRE>public <A HREF="../../../javax/media/j3d/Bounds.html" title="class in javax.media.j3d">Bounds</A> <B>getCollisionBounds</B>()</PRE><DL><DD>Returns the collision bounding object of this node.<P><DD><DL><DT><B>Returns:</B><DD>the node's collision bounding object<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="setGeometry(javax.media.j3d.Geometry)"><!-- --></A><H3>setGeometry</H3><PRE>public void <B>setGeometry</B>(<A HREF="../../../javax/media/j3d/Geometry.html" title="class in javax.media.j3d">Geometry</A>&nbsp;geometry)</PRE><DL><DD>Replaces the geometry component at index 0 in this Shape3D node's list of geometry components with the specified geometry component. If there are existing geometry components in the list (besides the one being replaced), the new geometry component must be of the same equivalence class (point, line, polygon, CompressedGeometry, Raster, Text3D) as the others.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>geometry</CODE> - the geometry component to be stored at index 0.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the new geometry component is not of of the same equivalence class as the existing geometry components.<DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="getGeometry()"><!-- --></A><H3>getGeometry</H3><PRE>public <A HREF="../../../javax/media/j3d/Geometry.html" title="class in javax.media.j3d">Geometry</A> <B>getGeometry</B>()</PRE><DL><DD>Retrieves the geometry component at index 0 from this Shape3D node's list of geometry components.<P><DD><DL><DT><B>Returns:</B><DD>the geometry component at index 0.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="setGeometry(javax.media.j3d.Geometry, int)"><!-- --></A><H3>setGeometry</H3><PRE>public void <B>setGeometry</B>(<A HREF="../../../javax/media/j3d/Geometry.html" title="class in javax.media.j3d">Geometry</A>&nbsp;geometry,                        int&nbsp;index)</PRE><DL><DD>Replaces the geometry component at the specified index in this

⌨️ 快捷键说明

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