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

📄 polygonattributes.html

📁 java 3d帮助文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 <ul> cull face : CULL_BACK<br> back face normal flip : false<br> polygon mode : POLYGON_FILL<br> polygon offset : 0.0<br> polygon offset factor : 0.0<br> </ul><P></DL><HR><A NAME="PolygonAttributes(int, int, float)"><!-- --></A><H3>PolygonAttributes</H3><PRE>public <B>PolygonAttributes</B>(int&nbsp;polygonMode,                         int&nbsp;cullFace,                         float&nbsp;polygonOffset)</PRE><DL><DD>Constructs a PolygonAttributes object with specified values.<P><DT><B>Parameters:</B><DD><CODE>polygonMode</CODE> - polygon rasterization mode; one of POLYGON_POINT, POLYGON_LINE, or POLYGON_FILL<DD><CODE>cullFace</CODE> - polygon culling mode; one of CULL_NONE, CULL_BACK, or CULL_FRONT<DD><CODE>polygonOffset</CODE> - constant polygon offset</DL><HR><A NAME="PolygonAttributes(int, int, float, boolean)"><!-- --></A><H3>PolygonAttributes</H3><PRE>public <B>PolygonAttributes</B>(int&nbsp;polygonMode,                         int&nbsp;cullFace,                         float&nbsp;polygonOffset,                         boolean&nbsp;backFaceNormalFlip)</PRE><DL><DD>Constructs PolygonAttributes object with specified values.<P><DT><B>Parameters:</B><DD><CODE>polygonMode</CODE> - polygon rasterization mode; one of POLYGON_POINT, POLYGON_LINE, or POLYGON_FILL<DD><CODE>cullFace</CODE> - polygon culling mode; one of CULL_NONE, CULL_BACK, or CULL_FRONT<DD><CODE>polygonOffset</CODE> - constant polygon offset<DD><CODE>backFaceNormalFlip</CODE> - back face normal flip flag; true or false</DL><HR><A NAME="PolygonAttributes(int, int, float, boolean, float)"><!-- --></A><H3>PolygonAttributes</H3><PRE>public <B>PolygonAttributes</B>(int&nbsp;polygonMode,                         int&nbsp;cullFace,                         float&nbsp;polygonOffset,                         boolean&nbsp;backFaceNormalFlip,                         float&nbsp;polygonOffsetFactor)</PRE><DL><DD>Constructs PolygonAttributes object with specified values.<P><DT><B>Parameters:</B><DD><CODE>polygonMode</CODE> - polygon rasterization mode; one of POLYGON_POINT, POLYGON_LINE, or POLYGON_FILL<DD><CODE>cullFace</CODE> - polygon culling mode; one of CULL_NONE, CULL_BACK, or CULL_FRONT<DD><CODE>polygonOffset</CODE> - constant polygon offset<DD><CODE>backFaceNormalFlip</CODE> - back face normal flip flag; true or false<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></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="setCullFace(int)"><!-- --></A><H3>setCullFace</H3><PRE>public void <B>setCullFace</B>(int&nbsp;cullFace)</PRE><DL><DD>Sets the face culling for this appearance component object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cullFace</CODE> - the face to be culled, one of: CULL_NONE, CULL_FRONT, or CULL_BACK<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="getCullFace()"><!-- --></A><H3>getCullFace</H3><PRE>public int <B>getCullFace</B>()</PRE><DL><DD>Gets the face culling for this appearance component object.<P><DD><DL><DT><B>Returns:</B><DD>the face to be culled<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="setBackFaceNormalFlip(boolean)"><!-- --></A><H3>setBackFaceNormalFlip</H3><PRE>public void <B>setBackFaceNormalFlip</B>(boolean&nbsp;backFaceNormalFlip)</PRE><DL><DD>Sets the back face normal flip flag to the specified value. This flag indicates whether vertex normals of back facing polygons should be flipped (negated) prior to lighting.  When this flag is set to true and back face culling is disabled, polygons are rendered as if the polygon had two sides with opposing normals. This feature is disabled by default.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>backFaceNormalFlip</CODE> - the back face normal flip flag<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="getBackFaceNormalFlip()"><!-- --></A><H3>getBackFaceNormalFlip</H3><PRE>public boolean <B>getBackFaceNormalFlip</B>()</PRE><DL><DD>Gets the back face normal flip flag.<P><DD><DL><DT><B>Returns:</B><DD>the back face normal flip flag<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="setPolygonMode(int)"><!-- --></A><H3>setPolygonMode</H3><PRE>public void <B>setPolygonMode</B>(int&nbsp;polygonMode)</PRE><DL><DD>Sets the polygon rasterization mode for this appearance component object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>polygonMode</CODE> - the polygon rasterization mode to be used; one of POLYGON_FILL, POLYGON_LINE, or POLYGON_POINT<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="getPolygonMode()"><!-- --></A><H3>getPolygonMode</H3><PRE>public int <B>getPolygonMode</B>()</PRE><DL><DD>Gets the polygon rasterization mode for this appearance component object.<P><DD><DL><DT><B>Returns:</B><DD>the polygon rasterization mode<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="setPolygonOffset(float)"><!-- --></A><H3>setPolygonOffset</H3><PRE>public void <B>setPolygonOffset</B>(float&nbsp;polygonOffset)</PRE><DL><DD>Sets the constant polygon offset to the specified value. This screen space offset is added to the final, device coordinate Z value of polygon primitives.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>polygonOffset</CODE> - the constant polygon offset<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="getPolygonOffset()"><!-- --></A><H3>getPolygonOffset</H3><PRE>public float <B>getPolygonOffset</B>()</PRE><DL><DD>Gets the constant polygon offset.<P><DD><DL><DT><B>Returns:</B><DD>the constant polygon offset<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">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="setPolygonOffsetFactor(float)"><!-- --></A><H3>setPolygonOffsetFactor</H3><PRE>public void <B>setPolygonOffsetFactor</B>(float&nbsp;polygonOffsetFactor)</PRE><DL><DD>Sets the polygon offset factor to the specified value. This factor is multiplied by the slope of the polygon, and then added to the final, device coordinate Z value of polygon primitives.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>polygonOffsetFactor</CODE> - the polygon offset factor<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="getPolygonOffsetFactor()"><!-- --></A><H3>getPolygonOffsetFactor</H3><PRE>public float <B>getPolygonOffsetFactor</B>()</PRE><DL><DD>Gets the polygon offset factor.<P><DD><DL><DT><B>Returns:</B><DD>the polygon offset factor.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="cloneNodeComponent()"><!-- --></A><H3>cloneNodeComponent</H3><PRE>public <A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A> <B>cloneNodeComponent</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced with cloneNodeComponent(boolean forceDuplicate)</I><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent()">cloneNodeComponent</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/NodeComponent.html">NodeComponent</A></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/PointSound.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/media/j3d/PositionInterpolator.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="PolygonAttributes.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -