public void connectViewToCamera ( int viewIndex , int cameraIndex ) { if ( views [ viewIndex ] . camera != - 1 ) throw new RuntimeException ( "View has already been assigned a camera" ) ; views [ viewIndex ] . camera = cameraIndex ; }
Specifies that the view uses the specified camera