com.java4ever.m3g
Class CompositingMode
java.lang.Object
com.java4ever.m3g.M3GObject
com.java4ever.m3g.Object3D
com.java4ever.m3g.CompositingMode
- public class CompositingMode
- extends Object3D
| 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 |
| Methods inherited from class com.java4ever.m3g.Object3D |
addAnimationTrack, animate, buildReferenceTable, duplicate, find, getAnimationTrack, getAnimationTrackCount, getReferences, getUserID, getUserObject, removeAnimationTrack, setUserID, setUserObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALPHA
public static final int ALPHA
- See Also:
- Constant Field Values
ALPHA_ADD
public static final int ALPHA_ADD
- See Also:
- Constant Field Values
MODULATE
public static final int MODULATE
- See Also:
- Constant Field Values
MODULATE_X2
public static final int MODULATE_X2
- See Also:
- Constant Field Values
REPLACE
public static final int REPLACE
- See Also:
- Constant Field Values
CompositingMode
public CompositingMode()
setBlending
public void setBlending(int mode)
getBlending
public int getBlending()
setAlphaThreshold
public void setAlphaThreshold(float threshold)
getAlphaThreshold
public float getAlphaThreshold()
setAlphaWriteEnable
public void setAlphaWriteEnable(boolean enable)
isAlphaWriteEnabled
public boolean isAlphaWriteEnabled()
setColorWriteEnable
public void setColorWriteEnable(boolean enable)
isColorWriteEnabled
public boolean isColorWriteEnabled()
setDepthWriteEnable
public void setDepthWriteEnable(boolean enable)
isDepthWriteEnabled
public boolean isDepthWriteEnabled()
setDepthTestEnable
public void setDepthTestEnable(boolean enable)
isDepthTestEnabled
public boolean isDepthTestEnabled()
setDepthOffset
public void setDepthOffset(float factor,
float units)
getDepthOffsetFactor
public float getDepthOffsetFactor()
getDepthOffsetUnits
public float getDepthOffsetUnits()
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
Copyright 2005 java4ever.com. All Rights Reserved.