예제 #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);
 }
예제 #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);
 }