public class Texture2DState extends TextureState
| Constructor and Description |
|---|
Texture2DState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubReference()
Called when this component reference count is incremented.
|
void |
buildGraph()
Subclasses should processes their own buildGraph requirements BEFORE
calling super.buildGraph().
|
SceneGraphObject |
createNode(java.lang.Class j3dClass)
Create a new Java3D node from the supplied class using the parameterless constructor
For Java3D nodes which do not have a default constructor you must
overload this method and create the object using createNode( className, parameters )
This will correctly handle subclasses of Java3D classes
|
void |
readObject(java.io.DataInput in) |
void |
writeObject(java.io.DataOutput out)
DO NOT call symbolTable.addReference in writeObject as this (may)
result in a concurrentModificationException.
|
readConstructorParams, writeConstructorParamscleanup, getNode, getNodeID, getSymbolpublic Texture2DState(SymbolTableData symbol, Controller control)
public void writeObject(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteObject in class TextureStatejava.io.IOExceptionpublic void readObject(java.io.DataInput in)
throws java.io.IOException
readObject in class TextureStatejava.io.IOExceptionpublic void addSubReference()
addSubReference in class TextureStatepublic void buildGraph()
SceneGraphObjectStatebuildGraph in class TextureStatepublic SceneGraphObject createNode(java.lang.Class j3dClass)
SceneGraphObjectState