Example usage for javax.media.j3d TexCoordGeneration ALLOW_ENABLE_WRITE

List of usage examples for javax.media.j3d TexCoordGeneration ALLOW_ENABLE_WRITE

Introduction

In this page you can find the example usage for javax.media.j3d TexCoordGeneration ALLOW_ENABLE_WRITE.

Prototype

int ALLOW_ENABLE_WRITE

To view the source code for javax.media.j3d TexCoordGeneration ALLOW_ENABLE_WRITE.

Click Source Link

Document

Specifies that this TexCoordGeneration object allows writing its enable flag.

Usage

From source file:AppearanceTest.java

protected int[] getCapabilities() {
    return new int[] { TexCoordGeneration.ALLOW_ENABLE_WRITE };
}

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);/*  w ww .j  a v  a2  s  . co m*/
    app.setTexCoordGeneration(texGen);
}