Example usage for Java javax.media.j3d PolygonAttributes fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ALLOW_CULL_FACE_WRITE Specifies that this PolygonAttributes object allows writing its cull face information. |
int | ALLOW_NORMAL_FLIP_WRITE Specifies that this PolygonAttributes object allows writing its back face normal flip flag. |
int | ALLOW_MODE_WRITE Specifies that this PolygonAttributes object allows writing its polygon mode information. |
int | ALLOW_OFFSET_WRITE Specifies that this PolygonAttributes object allows writing its polygon offset information. |
int | POLYGON_POINT Render polygonal primitives as points drawn at the vertices of the polygon. |
int | POLYGON_LINE Render polygonal primitives as lines drawn between consecutive vertices of the polygon. |
int | POLYGON_FILL Render polygonal primitives by filling the interior of the polygon. |
int | CULL_NONE Don't perform any face culling. |
int | CULL_BACK Cull all back-facing polygons. |
int | CULL_FRONT Cull all front-facing polygons. |
PolygonAttributes() Constructs a PolygonAttributes object with default parameters. | |
PolygonAttributes(int polygonMode, int cullFace, float polygonOffset) Constructs a PolygonAttributes object with specified values. | |
PolygonAttributes(int polygonMode, int cullFace, float polygonOffset, boolean backFaceNormalFlip) Constructs PolygonAttributes object with specified values. |
void | setBackFaceNormalFlip(boolean backFaceNormalFlip) Sets the back face normal flip flag to the specified value. |
void | setCullFace(int cullFace) Sets the face culling for this appearance component object. |
void | setPolygonMode(int polygonMode) Sets the polygon rasterization mode for this appearance component object. |
void | setPolygonOffset(float polygonOffset) Sets the constant polygon offset to the specified value. |