public interface JCameraFPSStyleInputType
| Modifier and Type | Method and Description |
|---|---|
void |
addRotationAroundHorizontal(double r)
Add a rotation around the horizontal axis.
|
void |
addRotationAroundVertical(double r)
Add a rotation around the vertical axis.
|
double |
getRotationHorizontal() |
double |
getRotationVertical() |
boolean |
isMovingBackward() |
boolean |
isMovingDown() |
boolean |
isMovingForward() |
boolean |
isMovingLeft() |
boolean |
isMovingRight() |
boolean |
isMovingUp() |
void |
setMovingBackward(boolean in_backward)
Tell the camera to start/stop moving backward.
|
void |
setMovingDown(boolean in_down)
Tell the camera to start/stop moving down.
|
void |
setMovingForward(boolean in_forward)
Tell the camera to start/stop moving forward.
|
void |
setMovingLeft(boolean in_left)
Tell the camera to start/stop moving left.
|
void |
setMovingRight(boolean in_right)
Tell the camera to start/stop moving right.
|
void |
setMovingUp(boolean in_up)
Tell the camera to start/stop moving up.
|
void |
setRotationHorizontal(double r)
Set the horizontal rotation.
|
void |
setRotationHorizontalFactor(double f)
Set the horizontal rotation factor.
|
void |
setRotationVertical(double r)
Set the vertical rotation.
|
void |
setRotationVerticalFactor(double f)
Set the vertical rotation factor.
|
double |
takeRotationHorizontal()
Return
getRotationHorizontal(), setting the rotation to 0.0. |
double |
takeRotationVertical()
Return
getRotationVertical(), setting the rotation to 0.0. |
void addRotationAroundHorizontal(double r)
r - The rotation amountvoid addRotationAroundVertical(double r)
r - The rotation amountdouble getRotationHorizontal()
void setRotationHorizontal(double r)
r - The rotationdouble getRotationVertical()
void setRotationVertical(double r)
r - The rotationboolean isMovingBackward()
true if the user is telling the camera to move backwardvoid setMovingBackward(boolean in_backward)
in_backward - true if the camera should be movingboolean isMovingDown()
true if the user is telling the camera to move downvoid setMovingDown(boolean in_down)
in_down - true if the camera should be movingboolean isMovingForward()
true if the user is telling the camera to move forwardvoid setMovingForward(boolean in_forward)
in_forward - true if the camera should be movingboolean isMovingLeft()
true if the user is telling the camera to move leftvoid setMovingLeft(boolean in_left)
in_left - true if the camera should be movingboolean isMovingRight()
true if the user is telling the camera to move rightvoid setMovingRight(boolean in_right)
in_right - true if the camera should be movingboolean isMovingUp()
true if the user is telling the camera to move upvoid setMovingUp(boolean in_up)
in_up - true if the camera should be movingvoid setRotationHorizontalFactor(double f)
f - The rotation factorvoid setRotationVerticalFactor(double f)
f - The rotation factordouble takeRotationHorizontal()
getRotationHorizontal(), setting the rotation to 0.0.double takeRotationVertical()
getRotationVertical(), setting the rotation to 0.0.Copyright © 2017 <code@io7m.com> http://io7m.com