crystalspace.jbind.interfaces.iengine.mesh
Interface iMeshDrawCallback
- All Superinterfaces:
- iJPointer
- All Known Implementing Classes:
- csMeshDrawCallback
- public interface iMeshDrawCallback
- extends iJPointer
Set a callback which is called just before the object is drawn. This is
useful to do some expensive computations which only need to be done on a
visible object. Note that this function will be called even if the object is
not visible. In general it is called if there is a likely probability that
the object is visible (i.e. it is in the same sector as the camera for
example).
- Author:
- Java wrapper - Quentin Anciaux, c++ version -
http://crystal.sourceforge.net/docs/online/pubapi/structiMeshDrawCallback.php
beforeDrawing
public boolean beforeDrawing(iMeshWrapper spr,
iRenderView rview)
- beforeDrawing. It is safe to delete this callback in this function.
- Parameters:
spr
- rview
-
- Returns: