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); }
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 ); }
public void AddViewport(System.Windows.Forms.IWin32Window hwnd) { TVViewport vp = Engine.TV3DEngine.CreateViewport(hwnd.Handle.ToInt32(), "viewport"); vp.SetAutoResize(true); }