Java javax.media.j3d PolygonAttributes fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d PolygonAttributes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d PolygonAttributes.

The text is from its open source code.

Field

intALLOW_CULL_FACE_WRITE
Specifies that this PolygonAttributes object allows writing its cull face information.
intALLOW_NORMAL_FLIP_WRITE
Specifies that this PolygonAttributes object allows writing its back face normal flip flag.
intALLOW_MODE_WRITE
Specifies that this PolygonAttributes object allows writing its polygon mode information.
intALLOW_OFFSET_WRITE
Specifies that this PolygonAttributes object allows writing its polygon offset information.
intPOLYGON_POINT
Render polygonal primitives as points drawn at the vertices of the polygon.
intPOLYGON_LINE
Render polygonal primitives as lines drawn between consecutive vertices of the polygon.
intPOLYGON_FILL
Render polygonal primitives by filling the interior of the polygon.
intCULL_NONE
Don't perform any face culling.
intCULL_BACK
Cull all back-facing polygons.
intCULL_FRONT
Cull all front-facing polygons.

Constructor

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.

Method

voidsetBackFaceNormalFlip(boolean backFaceNormalFlip)
Sets the back face normal flip flag to the specified value.
voidsetCullFace(int cullFace)
Sets the face culling for this appearance component object.
voidsetPolygonMode(int polygonMode)
Sets the polygon rasterization mode for this appearance component object.
voidsetPolygonOffset(float polygonOffset)
Sets the constant polygon offset to the specified value.