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

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

Introduction

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

The text is from its open source code.

Field

intALLOW_MODE_WRITE
Specifies that this TextureAttributes object allows writing its texture mode component information and perspective correction mode.
intALLOW_BLEND_COLOR_WRITE
Specifies that this TextureAttributes object allows writing its texture blend color component information.
intALLOW_TRANSFORM_WRITE
Specifies that this TextureAttributes object allows writing its texture transform component information.
intFASTEST
Use the fastest available method for perspective correction.
intNICEST
Use the nicest (highest quality) available method for texture mapping perspective correction.
intMODULATE
Modulate the object color with the texture color.
intDECAL
Apply the texture color to the object as a decal.
intBLEND
Blend the texture blend color with the object color.
intREPLACE
Replace the object color with the texture color.

Constructor

TextureAttributes()
Constructs a TextureAttributes object with default parameters.
TextureAttributes(int textureMode, Transform3D transform, Color4f textureBlendColor, int perspCorrectionMode)
Constructs a TextureAttributes object with the specified values.

Method

voidsetPerspectiveCorrectionMode(int mode)
Sets perspective correction mode to be used for color and/or texture coordinate interpolation.
voidsetTextureMode(int textureMode)
Sets the texture mode parameter for this appearance component object.
voidsetTextureTransform(Transform3D transform)
Sets the texture transform object used to transform texture coordinates.