|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MetaioSurfaceView.Callback
Implement this callback to load/unload geometries, transform geometries and handle geometries selection through touch event and receive animation events.
All callbacks are called inside rendering thread, therefore any expensive processing inside these methods should be done in another thread. Furthermore, any GUI operation must be performed in user interface thread.
Method Summary | |
---|---|
void |
onDrawFrame()
This is called when metaio SDK has updated tracking and is ready to render. |
void |
onSurfaceChanged(int width,
int height)
Called when OpenGL surface is resized. |
void |
onSurfaceCreated()
This is called when OpenGL surface has been created. |
void |
onSurfaceDestroyed()
Called when OpenGL surface is destroyed |
Method Detail |
---|
void onSurfaceCreated()
void onSurfaceChanged(int width, int height)
width
- Width of the surface viewheight
- Height of the surface viewvoid onSurfaceDestroyed()
void onDrawFrame()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |