Example usage for Java javax.media.j3d ColoringAttributes fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ALLOW_COLOR_WRITE Specifies that this ColoringAttributes object allows writing its color component information. |
int | ALLOW_SHADE_MODEL_WRITE Specifies that this ColoringAttributes object allows writing its shade model component information. |
int | FASTEST Use the fastest available method for shading. |
int | NICEST Use the nicest available method for shading. |
int | SHADE_FLAT Do not interpolate color across the primitive. |
int | SHADE_GOURAUD Smoothly interpolate the color at each vertex across the primitive. |
ColoringAttributes() Constructs a ColoringAttributes node with default parameters. | |
ColoringAttributes(Color3f color, int shadeModel) Construct ColoringAttributes object with specified values. | |
ColoringAttributes(float red, float green, float blue, int shadeModel) Construct ColoringAttributes object with specified values. |
void | setColor(Color3f color) Sets the intrinsic color of this ColoringAttributes component object. |
void | setColor(float r, float g, float b) Sets the intrinsic color of this ColoringAttributes component object. |
void | setShadeModel(int shadeModel) Sets the shade mode for this ColoringAttributes component object. |