Example usage for Java javax.media.j3d Material fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ALLOW_COMPONENT_WRITE For material object, specifies that Material allows reading individual component field information. |
Material() Constructs and initializes a Material object using default parameters. | |
Material(Color3f ambientColor, Color3f emissiveColor, Color3f diffuseColor, Color3f specularColor, float shininess) Constructs and initializes a new material object using the specified parameters. |
void | getAmbientColor(Color3f color) Retrieves this material's ambient color. |
void | getDiffuseColor(Color3f color) Retrieves this material's diffuse color. |
void | getEmissiveColor(Color3f color) Retrieves this material's emissive color and stores it in the argument provided. |
boolean | getLightingEnable() Retrieves the state of the lighting enable flag. |
float | getShininess() Retrieves this material's shininess. |
void | getSpecularColor(Color3f color) Retrieves this material's specular color. |
void | setAmbientColor(float r, float g, float b) Sets this material's ambient color. |
void | setCapability(int bit) Sets the specified capability bit. |
void | setDiffuseColor(Color3f color) Sets this material's diffuse color. |
void | setDiffuseColor(float r, float g, float b) Sets this material's diffuse color. |
void | setLightingEnable(boolean state) Enables or disables lighting for this appearance component object. |
void | setShininess(float shininess) Sets this material's shininess. |
void | setSpecularColor(Color3f color) Sets this material's specular color. |
void | setSpecularColor(float r, float g, float b) Sets this material's specular color. |