1 | Java 3D View object describes camera features to view the universe from a view platform: |
2 | View camera = new View( ); |
3 | camera.setFieldOfView( 0.785 ); |
4 | camera.setFrontClipDistance( 0.1 ); |
5 | camera.setBackClipDistance( 50.0 ); |
6 | camera.setSceneAntialiasingEnabled( true ); |
7 | camera.attachViewPlatform( spot ); |