M3GToolkit 0.5.0

com.java4ever.m3g
Class Appearance

java.lang.Object
  extended bycom.java4ever.m3g.M3GObject
      extended bycom.java4ever.m3g.Object3D
          extended bycom.java4ever.m3g.Appearance

public class Appearance
extends Object3D


Field Summary
 
Fields inherited from class com.java4ever.m3g.M3GObject
ANIMATION_CONTROLLER, ANIMATION_TRACK, APPEARANCE, BACKGROUND, CAMERA, COMPOSITING_MODE, EXTERNAL_REFERENCE, FOG, GROUP, HEADER, IMAGE2D, KEYFRAME_SEQUENCE, LIGHT, MATERIAL, MESH, MORPHING_MESH, POLYGON_MODE, SKINNED_MESH, SPRITE3D, TEXTURE2D, TRIANGLE_STRIP_ARRAY, VERTEX_ARRAY, VERTEX_BUFFER, WORLD
 
Constructor Summary
Appearance()
           
 
Method Summary
protected  void buildReferenceTable(java.util.ArrayList table)
           
 CompositingMode getCompositingMode()
           
 Fog getFog()
           
 int getLayer()
           
 Material getMaterial()
           
 int getObjectType()
           
 PolygonMode getPolygonMode()
           
 Texture2D getTexture(int index)
           
protected  void read(M3GInputStream is, java.util.ArrayList table)
           
 void setCompositingMode(CompositingMode compositingMode)
           
 void setFog(Fog fog)
           
 void setLayer(int layer)
           
 void setMaterial(Material material)
           
 void setPolygonMode(PolygonMode polygonMode)
           
 void setTexture(int index, Texture2D texture)
           
protected  void write(M3GOutputStream os, java.util.ArrayList table)
           
 
Methods inherited from class com.java4ever.m3g.Object3D
addAnimationTrack, animate, duplicate, find, getAnimationTrack, getAnimationTrackCount, getReferences, getUserID, getUserObject, removeAnimationTrack, setUserID, setUserObject
 
Methods inherited from class com.java4ever.m3g.M3GObject
getObjectAtIndex, isRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Appearance

public Appearance()
Method Detail

setLayer

public void setLayer(int layer)

getLayer

public int getLayer()

setFog

public void setFog(Fog fog)

getFog

public Fog getFog()

setPolygonMode

public void setPolygonMode(PolygonMode polygonMode)

getPolygonMode

public PolygonMode getPolygonMode()

setCompositingMode

public void setCompositingMode(CompositingMode compositingMode)

getCompositingMode

public CompositingMode getCompositingMode()

setTexture

public void setTexture(int index,
                       Texture2D texture)

getTexture

public Texture2D getTexture(int index)

setMaterial

public void setMaterial(Material material)

getMaterial

public Material getMaterial()

getObjectType

public int getObjectType()
Specified by:
getObjectType in class M3GObject

read

protected void read(M3GInputStream is,
                    java.util.ArrayList table)
             throws java.io.IOException
Overrides:
read in class Object3D
Throws:
java.io.IOException

write

protected void write(M3GOutputStream os,
                     java.util.ArrayList table)
              throws java.io.IOException
Overrides:
write in class Object3D
Throws:
java.io.IOException

buildReferenceTable

protected void buildReferenceTable(java.util.ArrayList table)
Overrides:
buildReferenceTable in class Object3D

M3GToolkit 0.5.0

Copyright 2005 java4ever.com. All Rights Reserved.