|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
addMaterial(iMaterialHandle mat_handle)
Add a material. |
void |
addPolygon(int[] verts,
csPolyTextureMapping texmap,
csPlane3 poly_normal,
int mat_index,
iRendererLightmap lm)
Add a polygon to this buffer. |
void |
clear()
Clear all polygons, materials, and vertex array. |
csBox3 |
getBoundingBox()
Get a bounding box for all the vertices. |
iMaterialHandle |
getMaterial(int idx)
Get a material. |
int |
getMaterialCount()
Get the number of materials. |
int |
getVertexCount()
Gets the number of vertices. |
csVector3[] |
getVertices()
Gets the array of vertices. |
void |
markLightmapsDirty()
Sets the polygon buffer as dirty. |
void |
prepare()
After adding everything and before using this polygon buffer you should call Prepare();. |
void |
setMaterial(int idx,
iMaterialHandle mat_handle)
Set a previously added material (this can be used to change a material handle);. |
void |
setVertexArray(csVector3[] verts)
Set vertices to use for the polygons. |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Method Detail |
public void addMaterial(iMaterialHandle mat_handle)
mat_handle -
public void addPolygon(int[] verts,
csPolyTextureMapping texmap,
csPlane3 poly_normal,
int mat_index,
iRendererLightmap lm)
verts - texmap - poly_normal - mat_index - lm - public void clear()
public csBox3 getBoundingBox()
public iMaterialHandle getMaterial(int idx)
idx -
public int getMaterialCount()
public int getVertexCount()
public csVector3[] getVertices()
public void markLightmapsDirty()
public void prepare()
public void setMaterial(int idx,
iMaterialHandle mat_handle)
idx - mat_handle - public void setVertexArray(csVector3[] verts)
verts -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||