Ejemplo n.º 1
0
        public void AwakeFromNib()
        {
            // Allocate the scene object
            this.scene = new Scene ();

            // Assign the view's MainController to self
            this.openGLView.MainController = this;

            // Activate the display link now
            this.openGLView.StartAnimation ();
            this.isAnimating = true;
        }
		public override void AwakeFromNib ()
		{
			// Allocate the scene object
			scene = new Scene ();
			
			// Assign the view's MainController to us
			openGLView.MainController = this;
			
			// reset the viewport and update OpenGL Context
			openGLView.UpdateView ();
			
			// Activate the display link now
			openGLView.StartAnimation ();
			
			isAnimating = true;
		}