|
Jazz3D API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sygem.jazz3d3.Render | +--com.sygem.jazz3d3.RenderOutline
Renderer that provides the ability to use wireframe, particle or image modes. NOTE: All objects start life with a RenderOutline by default.
Field Summary | |
static int |
SIXTEEN
Set the rendered image size to 16x16 |
static int |
SIXTYFOUR
Set the rendered image size to 64x64 |
static int |
THIRTYTWO
Set the rendered image size to 32x32 |
Fields inherited from class com.sygem.jazz3d3.Render |
FLAT, GOURAUD, IMAGE, LINE, NOSHADE, PARTICLE |
Constructor Summary | |
RenderOutline()
Default constructor |
Method Summary | |
Render |
cloneRenderer()
Returns a copy of the current renderer. |
boolean |
getHiddenLineRemoval()
Query the current hidden-line removal state. |
int |
getPenColourB()
Returns the Blue colour of the lines/particles |
int |
getPenColourG()
Returns the Green colour of the lines/particles |
int |
getPenColourR()
Returns the Red colour of the lines/particles |
void |
setHiddenLineRemoval(boolean t)
Turn on/off hidden-line removal. |
void |
setImageSize(int size)
Set the size of the image for the image-rendering mode. |
void |
setPenColour(int r,
int g,
int b)
Set the colour of the lines/particles |
int |
setVertexImage(Texture tex)
Load a texture to be used with the image-render mode. |
Methods inherited from class com.sygem.jazz3d3.Render |
getDrawingMode, setDrawingMode |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SIXTEEN
public static final int THIRTYTWO
public static final int SIXTYFOUR
Constructor Detail |
public RenderOutline()
Method Detail |
public final void setHiddenLineRemoval(boolean t)
public final boolean getHiddenLineRemoval()
public Render cloneRenderer()
cloneRenderer
in class Render
public final void setImageSize(int size)
size
- Either SIXTEEN, THIRTYTWO or SIXTYFOURSIXTEEN
,
THIRTYTWO
,
SIXTYFOUR
public final int setVertexImage(Texture tex)
tex
- A TextureObject3d.setVertexTexture(int, int)
public final void setPenColour(int r, int g, int b)
r
- The red component of the colourg
- The green component of the colourb
- The blue component of the colourpublic final int getPenColourR()
public final int getPenColourG()
public final int getPenColourB()
|
©2001 SyGem Software |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |