Papervision3D BasicView Template class


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. package {
  2. import flash.events.Event;
  3. import org.papervision3d.view.BasicView;
  4.  
  5. public class world3d extends BasicView
  6. {
  7. public function world3d()
  8. {
  9. stage.frameRate = 40;
  10. init();
  11. startRendering();
  12. }
  13.  
  14. private function init()
  15. {
  16.  
  17. }
  18.  
  19. override protected function onRenderTick(e:Event=null):void
  20. {
  21. super.onRenderTick();
  22. }
  23. }
  24. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.