See scala.Function0)
See scala.Function0)
the scene that contains this camera
the action to execute whenever the camera moves or rotates
Unit, since it has the side effect of initialize the camera
See it.unibo.scafi.renderer3d.camera.SimulationCamera#isEventAMovementOrRotation(javafx.scene.input.KeyEvent)
See it.unibo.scafi.renderer3d.camera.SimulationCamera#isEventAMovementOrRotation(javafx.scene.input.KeyEvent)
the keyboard event that will be checked
true if the event will cause a rotation or movement, false otherwise.
See it.unibo.scafi.renderer3d.camera.SimulationCamera#rotateByMouseEvent(javafx.scene.input.MouseEvent)
See it.unibo.scafi.renderer3d.camera.SimulationCamera#rotateByMouseEvent(javafx.scene.input.MouseEvent)
the mouse event that will be used to rotate the camera
Unit, since it has the side effect of rotating the camera
See it.unibo.scafi.renderer3d.camera.SimulationCamera#startMouseRotation(javafx.scene.input.MouseEvent)
See it.unibo.scafi.renderer3d.camera.SimulationCamera#startMouseRotation(javafx.scene.input.MouseEvent)
the mouse event that starts the rotation
Unit, since it has the side effect of preparing the camera for rotation
See it.unibo.scafi.renderer3d.camera.SimulationCamera#stopMovingAndRotating()
See it.unibo.scafi.renderer3d.camera.SimulationCamera#stopMovingAndRotating()
Unit, since it has the side effect of stopping the camera from moving and rotating
(Since version ) see corresponding Javadoc for more information.
JavaFx 3D camera that moves with keyboard input and rotates with mouse or keyboard input. It can move up, down, left, right, forward and backwards but it rotates only on the Y axis.