Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZoomHandler"/> class.
 /// </summary>
 /// <param name="viewport">
 /// The viewport.
 /// </param>
 /// <param name="changeFieldOfView">
 /// if set to <c>true</c> [change field of view].
 /// </param>
 public ZoomHandler(CameraController viewport, bool changeFieldOfView = false)
     : base(viewport)
 {
     this.changeFieldOfView = changeFieldOfView;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PanHandler"/> class.
 /// </summary>
 /// <param name="viewport">
 /// The viewport.
 /// </param>
 public PanHandler(CameraController viewport)
     : base(viewport)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MouseGestureHandler"/> class.
 /// </summary>
 /// <param name="viewport">
 /// The viewport.
 /// </param>
 protected MouseGestureHandler(CameraController viewport)
 {
     this.CameraController = viewport;
     //this.ManipulationWatch = new Stopwatch();
 }