Exemplo n.º 1
0
 /// <summary>
 /// Creates the new instance of the viewport.
 /// </summary>
 /// <param name="scene"></param>
 public SceneViewport(Scene scene)
 {
     Scene = scene;
     CurrentCamera = Scene.CurrentCamera;
     Navigation = new SceneViewportNavigation(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates the new instance of the viewport.
 /// </summary>
 /// <param name="scene"></param>
 public SceneViewport(Scene scene)
 {
     Scene         = scene;
     CurrentCamera = Scene.CurrentCamera;
     Navigation    = new SceneViewportNavigation(this);
 }