Package com.jme3.view.surfaceview
Interface OnRendererStarted
public interface OnRendererStarted
An interface used for invoking an event when the application is started explicitly from
JmeSurfaceView.startRenderer(int)
.
NB : This listener must be utilized before using JmeSurfaceView.startRenderer(int)
, ie : it would be ignored if you try to use JmeSurfaceView.setOnRendererStarted(OnRendererStarted)
after
JmeSurfaceView.startRenderer(int)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRenderStart
(LegacyApplication application, android.view.View layout) Invoked when the game application is started by theLegacyApplication.start()
, the event is dispatched on the holder Activity context thread.
-
Method Details
-
onRenderStart
Invoked when the game application is started by theLegacyApplication.start()
, the event is dispatched on the holder Activity context thread.- Parameters:
application
- the game instance.layout
- the enclosing layout.- See Also:
-