Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MouseGestureHandler"/> class.
 /// </summary>
 /// <param name="controller">
 /// The camera controller.
 /// </param>
 protected MouseGestureHandler(CameraController controller)
 {
     Controller = controller;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZoomHandler"/> class.
 /// </summary>
 /// <param name="controller">
 /// The camera controller.
 /// </param>
 /// <param name="changeFieldOfView">
 /// if set to <c>true</c> [change field of view].
 /// </param>
 public ZoomHandler(CameraController controller, bool changeFieldOfView = false)
     : base(controller)
 {
     this.changeFieldOfView = changeFieldOfView;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZoomRectangleHandler"/> class.
 /// </summary>
 /// <param name="controller">
 /// The camera controller.
 /// </param>
 public ZoomRectangleHandler(CameraController controller)
     : base(controller)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RotateHandler"/> class.
 /// </summary>
 /// <param name="controller">
 /// The controller.
 /// </param>
 /// <param name="changeLookAt">
 /// The change look at.
 /// </param>
 public RotateHandler(CameraController controller, bool changeLookAt = false)
     : base(controller)
 {
     this.changeLookAt = changeLookAt;
 }