Example usage for javax.media.j3d Texture2D Texture2D

List of usage examples for javax.media.j3d Texture2D Texture2D

Introduction

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

Prototype

public Texture2D() 

Source Link

Document

Constructs a texture object using default values.

Usage

From source file:AppearanceTest.java

protected void assignToAppearance() {
    m_Texture = (Texture) new Texture2D();
    m_Texture = (Texture) m_NodeComponent.cloneNodeComponent(true);
    m_Appearance.setTexture(m_Texture);
}