Esempio n. 1
0
 public Viewport(System.Windows.Forms.IWin32Window window, string name)
 {
     viewport = Engine.TV3DEngine.CreateViewport(window.Handle.ToInt32(), name);
     viewport.SetAutoResize(true);
     camera       = viewport.GetCamera();
     strivecamera = new Camera(camera);
 }
Esempio n. 2
0
		public Viewport( System.Windows.Forms.IWin32Window window, string name ) {
			viewport = Engine.TV3DEngine.CreateViewport( window.Handle.ToInt32(), name );
			viewport.SetAutoResize( true );
			camera = viewport.GetCamera();
			strivecamera = new Camera( camera );
		}
Esempio n. 3
0
        public void AddViewport(System.Windows.Forms.IWin32Window hwnd)
        {
            TVViewport vp = Engine.TV3DEngine.CreateViewport(hwnd.Handle.ToInt32(), "viewport");

            vp.SetAutoResize(true);
        }