M3GToolkit 0.5.0

com.java4ever.m3g
Class Background

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

public class Background
extends Object3D


Field Summary
static byte BORDER
           
static byte REPEAT
           
 
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
Background()
           
 
Method Summary
protected  void buildReferenceTable(java.util.ArrayList table)
           
 int getColor()
           
 int getCropHeight()
           
 int getCropWidth()
           
 int getCropX()
           
 int getCropY()
           
 Image2D getImage()
           
 int getImageModeX()
           
 int getImageModeY()
           
 int getObjectType()
           
 boolean isColorClearEnabled()
           
 boolean isDepthClearEnabled()
           
protected  void read(M3GInputStream is, java.util.ArrayList table)
           
 void setColor(int ARGB)
           
 void setColorClearEnabled(boolean enable)
           
 void setCrop(int cropX, int cropY, int width, int height)
           
 void setDepthClearEnabled(boolean enable)
           
 void setImage(Image2D image)
           
 void setImageMode(int modeX, int modeY)
           
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
 

Field Detail

BORDER

public static final byte BORDER
See Also:
Constant Field Values

REPEAT

public static final byte REPEAT
See Also:
Constant Field Values
Constructor Detail

Background

public Background()
Method Detail

setColorClearEnabled

public void setColorClearEnabled(boolean enable)

isColorClearEnabled

public boolean isColorClearEnabled()

setDepthClearEnabled

public void setDepthClearEnabled(boolean enable)

isDepthClearEnabled

public boolean isDepthClearEnabled()

setColor

public void setColor(int ARGB)

getColor

public int getColor()

setImage

public void setImage(Image2D image)

getImage

public Image2D getImage()

setImageMode

public void setImageMode(int modeX,
                         int modeY)

getImageModeX

public int getImageModeX()

getImageModeY

public int getImageModeY()

setCrop

public void setCrop(int cropX,
                    int cropY,
                    int width,
                    int height)

getCropX

public int getCropX()

getCropY

public int getCropY()

getCropWidth

public int getCropWidth()

getCropHeight

public int getCropHeight()

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.