- fixed javadoc on ChaseCam

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8371 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent cad42dae3c
commit 1afea87e89
  1. 9
      engine/src/core/com/jme3/input/ChaseCamera.java

@ -636,9 +636,10 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
} }
/** /**
* Only has an effect if smoothMotion is set to true and trailing is enabled *
* Sets the chasing sensitivity, the lower the value the slower the camera will follow the target when it moves * Sets the chasing sensitivity, the lower the value the slower the camera will follow the target when it moves
* default is 5 * default is 5
* Only has an effect if smoothMotion is set to true and trailing is enabled
* @param chasingSensitivity * @param chasingSensitivity
*/ */
public void setChasingSensitivity(float chasingSensitivity) { public void setChasingSensitivity(float chasingSensitivity) {
@ -654,10 +655,10 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
} }
/** /**
* Only has an effect if smoothMotion is set to true
* Sets the rotation sensitivity, the lower the value the slower the camera will rotates around the target when draging with the mouse * Sets the rotation sensitivity, the lower the value the slower the camera will rotates around the target when draging with the mouse
* default is 5, values over 5 should have no effect. * default is 5, values over 5 should have no effect.
* If you want a significant slow down try values below 1. * If you want a significant slow down try values below 1.
* Only has an effect if smoothMotion is set to true
* @param rotationSensitivity * @param rotationSensitivity
*/ */
public void setRotationSensitivity(float rotationSensitivity) { public void setRotationSensitivity(float rotationSensitivity) {
@ -673,8 +674,8 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
} }
/** /**
* Only has an effect if smoothMotion is set to true
* Enable the camera trailing : The camera smoothly go in the targets trail when it moves. * Enable the camera trailing : The camera smoothly go in the targets trail when it moves.
* Only has an effect if smoothMotion is set to true
* @param trailingEnabled * @param trailingEnabled
*/ */
public void setTrailingEnabled(boolean trailingEnabled) { public void setTrailingEnabled(boolean trailingEnabled) {
@ -691,9 +692,9 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control {
} }
/** /**
* Only has an effect if smoothMotion is set to true and trailing is enabled
* Sets the trailing rotation inertia : default is 0.1. This prevent the camera to roughtly stop when the target stops moving * Sets the trailing rotation inertia : default is 0.1. This prevent the camera to roughtly stop when the target stops moving
* before the camera reached the trail position. * before the camera reached the trail position.
* Only has an effect if smoothMotion is set to true and trailing is enabled
* @param trailingRotationInertia * @param trailingRotationInertia
*/ */
public void setTrailingRotationInertia(float trailingRotationInertia) { public void setTrailingRotationInertia(float trailingRotationInertia) {

Loading…
Cancel
Save