List of usage examples for javax.media.j3d TexCoordGeneration TexCoordGeneration
public TexCoordGeneration(int genMode, int format, Vector4f planeS, Vector4f planeT)
From source file:AppearanceExplorer.java
void setTexGen() { texGen = new TexCoordGeneration(mode, TexCoordGeneration.TEXTURE_COORDINATE_2, planeS, planeT); texGen.setCapability(TexCoordGeneration.ALLOW_ENABLE_WRITE); texGen.setEnable(enable);/*from w ww .j a v a 2 s .c o m*/ app.setTexCoordGeneration(texGen); }