FileDocCategorySizeDatePackage
SceneGraph.javaAPI DocAndroid 5.1 API2000Thu Mar 12 22:22:44 GMT 2015com.android.modelviewer

SceneGraph

public class SceneGraph extends android.app.Activity

Fields Summary
private SceneGraphView
mView
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);

        // Create our Preview view and set it as the content of our
        // Activity
        mView = new SceneGraphView(this);
        setContentView(mView);
    
protected voidonPause()

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus
        super.onPause();
        mView.pause();
    
protected voidonResume()

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus
        super.onResume();
        mView.resume();