示例#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;
 }
示例#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;
 }
示例#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)
 {
 }
示例#4
0
 /// <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;
 }