|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents data related to some geometry in object space. It is a generic way to describe meshes in the engine. By using this interface you can make sure your code works on all engine geometry. The data returned by this class is in local object space.
Method Summary | |
void |
addListener(iObjectModelListener listener)
Add a listener to this object model. |
iPolygonMesh |
createLowerDetailPolygonMesh(float detail)
Create a polygon mesh representing a lower detail version of the object but without the restrictions of GetPolygonMeshViscull();. |
void |
getObjectBoundingBox(csBox3 bbox)
Get the bounding box in object space for this mesh object. |
void |
getObjectBoundingBox(csBox3 bbox,
int type)
Get the bounding box in object space for this mesh object. |
iPolygonMesh |
getPolygonMeshBase()
Get a polygon mesh representing the basic geometry of the object. |
iPolygonMesh |
getPolygonMeshColldet()
Get a polygon mesh representing the geometry of the object. |
iPolygonMesh |
getPolygonMeshShadows()
Get a polygon mesh specifically for shadow casting (to be used by the shadow manager);. |
iPolygonMesh |
getPolygonMeshViscull()
Get a polygon mesh specifically for visibility culling (to be used as an occluder);. |
void |
getRadius(csVector3 radius,
csVector3 center)
Get the radius and center of this object in object space. |
long |
getShapeNumber()
Returns a number that will change whenever the shape of this object changes. |
void |
removeListener(iObjectModelListener listener)
Remove a listener from this object model. |
void |
setPolygonMeshColldet(iPolygonMesh polymesh)
Set a polygon mesh representing the geometry of the object. |
void |
setPolygonMeshShadows(iPolygonMesh polymesh)
Set a polygon mesh representing the geometry of the object. |
void |
setPolygonMeshViscull(iPolygonMesh polymesh)
Set a polygon mesh representing the geometry of the object. |
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 addListener(iObjectModelListener listener)
listener
- public iPolygonMesh createLowerDetailPolygonMesh(float detail)
detail
-
public void getObjectBoundingBox(csBox3 bbox)
bbox
- public void getObjectBoundingBox(csBox3 bbox, int type)
bbox
- type
- public iPolygonMesh getPolygonMeshBase()
public iPolygonMesh getPolygonMeshColldet()
public iPolygonMesh getPolygonMeshShadows()
public iPolygonMesh getPolygonMeshViscull()
public void getRadius(csVector3 radius, csVector3 center)
radius
- center
- public long getShapeNumber()
public void removeListener(iObjectModelListener listener)
listener
- public void setPolygonMeshColldet(iPolygonMesh polymesh)
polymesh
- public void setPolygonMeshShadows(iPolygonMesh polymesh)
polymesh
- public void setPolygonMeshViscull(iPolygonMesh polymesh)
polymesh
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |