com.sygem.jazz3d3
Class RenderTransparent
java.lang.Object
com.sygem.jazz3d3.Render
com.sygem.jazz3d3.RenderTransparent
- public class RenderTransparent
- extends Render
Renderer that provides the ability to draw
truly transparent objects (where each face
is draw transparent)
- Version:
- 3.0a
Method Summary |
Render |
cloneRenderer()
Returns a copy of the current renderer. |
void |
read(java.io.FileInputStream reader)
|
void |
setTransparency(double i)
Sets the transparency of the renderer. |
void |
write(java.io.FileOutputStream writer)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderTransparent
public RenderTransparent()
- Default constructor. Initial rendering mode is FLAT.
- See Also:
Render.FLAT
,
Render.GOURAUD
cloneRenderer
public Render cloneRenderer()
- Returns a copy of the current renderer. All fields are copied across.
- Specified by:
cloneRenderer
in class Render
read
public void read(java.io.FileInputStream reader)
throws java.io.IOException
- Specified by:
read
in class Render
- Throws:
java.io.IOException
setTransparency
public final void setTransparency(double i)
- Sets the transparency of the renderer. This is a
value between 0 and 1 - the bigger the number,
the more transparent the object is.
- Parameters:
i
- The transparency
write
public void write(java.io.FileOutputStream writer)
throws java.io.IOException
- Specified by:
write
in class Render
- Throws:
java.io.IOException
Copyright © 1999-2006 SyGem Software. All Rights Reserved.