342

Viewing the scene
View example code

  • Create a Canvas3D with a default configuration (automatically creating a Screen3D)
    Canvas3D myCanvas = new Canvas3D( null );

  • Create a View and give it the Canvas3D
    View myView = new View( );
    myView.setCanvas3D( myCanvas );

  • And attach the ViewPlatform to the View
    myView.attachViewPlatform( myPlatform );

  • Use defaults for the physical body, physical environment, and miscellaneous transforms