public interface JCameraSphericalInputType
| Modifier and Type | Method and Description |
|---|---|
void |
addTargetMovingContinuousForward(float in_forward)
Add a movement forward to the target position.
|
void |
addTargetMovingContinuousRight(float in_right)
Add a movement right to the target position.
|
float |
getForwardFactor() |
float |
getRightFactor() |
float |
getTargetMovingForwardContinuous() |
float |
getTargetMovingRight() |
boolean |
isOrbitingHeadingNegative() |
boolean |
isOrbitingHeadingPositive() |
boolean |
isOrbitingInclineNegative() |
boolean |
isOrbitingInclinePositive() |
boolean |
isTargetMovingBackward() |
boolean |
isTargetMovingDown() |
boolean |
isTargetMovingForward() |
boolean |
isTargetMovingLeft() |
boolean |
isTargetMovingRight() |
boolean |
isTargetMovingUp() |
boolean |
isZoomingIn() |
boolean |
isZoomingOut() |
void |
setContinuousForwardFactor(float f)
Set the multiplication factor used for continuous forward/backward
movement.
|
void |
setContinuousRightwardFactor(float f)
Set the multiplication factor used for continuous left/right movement.
|
void |
setOrbitHeadingNegative(boolean o)
Tell the camera to start/stop orbiting (for heading) in a negative
direction.
|
void |
setOrbitHeadingPositive(boolean o)
Tell the camera to start/stop orbiting (for heading) in a positive
direction.
|
void |
setOrbitInclineNegative(boolean o)
Tell the camera to start/stop orbiting (for incline) in a negative
direction.
|
void |
setOrbitInclinePositive(boolean o)
Tell the camera to start/stop orbiting (for incline) in a positive
direction.
|
void |
setTargetMovingBackwardCursor(boolean in_backward)
Tell the camera target to start/stop moving backward.
|
void |
setTargetMovingBackwardKey(boolean in_backward)
Tell the camera target to start/stop moving backward.
|
void |
setTargetMovingContinuousForward(float f)
Set the amount of continuous forward movement.
|
void |
setTargetMovingContinuousRight(float f)
Set the amount of continuous rightward movement.
|
void |
setTargetMovingDown(boolean in_down)
Tell the camera target to start/stop moving down.
|
void |
setTargetMovingForwardCursor(boolean in_forward)
Tell the camera target to start/stop moving forward.
|
void |
setTargetMovingForwardKey(boolean in_forward)
Tell the camera target to start/stop moving forward.
|
void |
setTargetMovingLeftCursor(boolean in_left)
Tell the camera target to start/stop moving left.
|
void |
setTargetMovingLeftKey(boolean in_left)
Tell the camera target to start/stop moving left.
|
void |
setTargetMovingRightCursor(boolean in_right)
Tell the camera target to start/stop moving right.
|
void |
setTargetMovingRightKey(boolean in_right)
Tell the camera target to start/stop moving right.
|
void |
setTargetMovingUp(boolean in_up)
Tell the camera target to start/stop moving up.
|
void |
setZoomingIn(boolean in_zoom_in)
Tell the camera target to start/stop zooming in.
|
void |
setZoomingOut(boolean in_zoom_out)
Tell the camera target to start/stop zooming out.
|
float |
takeTargetMovingForward()
Retrieve
r = getTargetMovingForwardContinuous(), set the
current forward movement to 0.0, and return r. |
float |
takeTargetMovingRight()
|
void addTargetMovingContinuousForward(float in_forward)
in_forward - The amount to move forwardvoid addTargetMovingContinuousRight(float in_right)
in_right - The amount to move rightfloat getForwardFactor()
float getRightFactor()
float getTargetMovingForwardContinuous()
float getTargetMovingRight()
boolean isOrbitingHeadingNegative()
true if the user is telling the camera to orbitboolean isOrbitingHeadingPositive()
true if the user is telling the camera to orbitboolean isOrbitingInclineNegative()
true if the user is telling the camera to orbitboolean isOrbitingInclinePositive()
true if the user is telling the camera to orbitboolean isTargetMovingBackward()
true if the user is telling the camera target to move
backwardboolean isTargetMovingDown()
true if the user is telling the camera target to move downvoid setTargetMovingDown(boolean in_down)
in_down - true if the camera should be movingboolean isTargetMovingForward()
true if the user is telling the camera target to move
forwardboolean isTargetMovingLeft()
true if the user is telling the camera target to move leftboolean isTargetMovingRight()
true if the user is telling the camera target to move rightboolean isTargetMovingUp()
true if the user is telling the camera target to move upvoid setTargetMovingUp(boolean in_up)
in_up - true if the camera should be movingboolean isZoomingIn()
true if the user is telling the camera to zoom invoid setZoomingIn(boolean in_zoom_in)
in_zoom_in - true if the camera should be movingboolean isZoomingOut()
true if the user is telling the camera to zoom outvoid setZoomingOut(boolean in_zoom_out)
in_zoom_out - true if the camera should be movingvoid setContinuousForwardFactor(float f)
f - The multiplication factorvoid setContinuousRightwardFactor(float f)
f - The multiplication factorvoid setOrbitHeadingNegative(boolean o)
o - true if the camera should be movingvoid setOrbitHeadingPositive(boolean o)
o - true if the camera should be movingvoid setOrbitInclineNegative(boolean o)
o - true if the camera should be movingvoid setOrbitInclinePositive(boolean o)
o - true if the camera should be movingvoid setTargetMovingBackwardCursor(boolean in_backward)
in_backward - true if the camera should be movingvoid setTargetMovingBackwardKey(boolean in_backward)
in_backward - true if the camera should be movingvoid setTargetMovingContinuousForward(float f)
f - The forward movementvoid setTargetMovingContinuousRight(float f)
f - The rightward movementvoid setTargetMovingForwardCursor(boolean in_forward)
in_forward - true if the camera should be movingvoid setTargetMovingForwardKey(boolean in_forward)
in_forward - true if the camera should be movingvoid setTargetMovingLeftCursor(boolean in_left)
in_left - true if the camera should be movingvoid setTargetMovingLeftKey(boolean in_left)
in_left - true if the camera should be movingvoid setTargetMovingRightCursor(boolean in_right)
in_right - true if the camera should be movingvoid setTargetMovingRightKey(boolean in_right)
in_right - true if the camera should be movingfloat takeTargetMovingForward()
r = getTargetMovingForwardContinuous(), set the
current forward movement to 0.0, and return r.float takeTargetMovingRight()
Copyright © 2016 <code@io7m.com> http://io7m.com