Example usage for javax.media.j3d TexCoordGeneration TEXTURE_COORDINATE_3

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

Introduction

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

Prototype

int TEXTURE_COORDINATE_3

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

Click Source Link

Document

Generates 3D texture coordinates (S, T, and R).

Usage

From source file:AppearanceTest.java

protected NodeComponent createComponent() {
    return (NodeComponent) new TexCoordGeneration(TexCoordGeneration.OBJECT_LINEAR,
            TexCoordGeneration.TEXTURE_COORDINATE_3);
}

From source file:AppearanceTest.java

public void onTEXTURE_COORDINATE_3() {
    getTexCoordGeneration().setFormat(TexCoordGeneration.TEXTURE_COORDINATE_3);
    assignToAppearance();
}