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

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

Introduction

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

The text is from its open source code.

Field

intALLOW_COLOR_WRITE
Specifies that this ColoringAttributes object allows writing its color component information.
intALLOW_SHADE_MODEL_WRITE
Specifies that this ColoringAttributes object allows writing its shade model component information.
intFASTEST
Use the fastest available method for shading.
intNICEST
Use the nicest available method for shading.
intSHADE_FLAT
Do not interpolate color across the primitive.
intSHADE_GOURAUD
Smoothly interpolate the color at each vertex across the primitive.

Constructor

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.

Method

voidsetColor(Color3f color)
Sets the intrinsic color of this ColoringAttributes component object.
voidsetColor(float r, float g, float b)
Sets the intrinsic color of this ColoringAttributes component object.
voidsetShadeModel(int shadeModel)
Sets the shade mode for this ColoringAttributes component object.