setDepthTestFunction method. By default, LESS_OR_EQUAL is the function used. The depth test function is one of the following:
setAlphaTestFunction method. The alpha test function is one of the following:
setAlphaTestValue method. The default alpha test value is 0.0.
setRasterOp method. The raster operation is enabled or disabled with the setRasterOpEnable method. The raster operation is one of the following:
setIgnoreVertexColors method. If ignoreVertexColors is false, per-vertex colors are used, when present in the associated geometry objects, taking precedence over the ColoringAttributes color and the specified Material color(s). If ignoreVertexColors is true, per-vertex colors are ignored. In this case, if lighting is enabled, the Material diffuse color will be used as the object color. if lighting is disabled, the ColoringAttributes color is used. The default value is false.
setVisible method. By default, the visibility flag is true.
setDepthBufferEnable method enables or disabled the depth buffer. The setDepthBufferWriteEnable method enables or disables writing the depth buffer for this object. During the transparent rendering pass, this attribute can be overridden by the depthBufferFreezeTransparent attribute in the View object. Transparent objects include BLENDED transparent and antialiased lines and points. Transparent objects do not include opaque objects or primitives rendered with SCREEN_DOOR transparency. By default, the depth buffer is enabled and the depth buffer write is enabled.
setStencilEnable method. If the stencil buffer is disabled, the stencil operation and function are ignored. If a scene graph is rendered on a Canvas3D that does not have a stencil buffer, the stencil buffer will be implicitly disabled for that canvas.
~0 (all ones).
setStencilOp method. The stencil operation is one of the following:
refValue, as specified by setStencilFunction.
setStencilFunction method. The stencil comparison mask is bitwise-ANDed with both the stencil reference value and the stored stencil value prior to doing the comparison. The default value for the reference value is 0. The default value for the comparison mask is ~0 (all ones). The stencil test function is one of the following:
Note: the alpha test, depth test, and stencil functions all use the same enums.
@see Appearance | |
| |
| |
| |
| |
| |
| |
| |
| |
| |