|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.Controller
apps.mt3dmaps.orbittest.CameraFocusInputAction.CameraController
public class CameraFocusInputAction.CameraController
Controller used in conjuction with the Orbit handler to smoothly move the camera towards a scene object.
| Field Summary |
|---|
| Fields inherited from class com.jme.scene.Controller |
|---|
RT_CLAMP, RT_CYCLE, RT_WRAP |
| Constructor Summary | |
|---|---|
CameraFocusInputAction.CameraController(com.jme.renderer.Camera camera,
OrbitAction orbit)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
initialize(com.jme.math.Vector3f target,
float distance)
Initialize the controller. |
void |
update(float tpf)
Update. |
| Methods inherited from class com.jme.scene.Controller |
|---|
getClassTag, getControllerValues, getMaxTime, getMinTime, getRepeatType, getSpeed, isActive, read, setActive, setControllerValues, setMaxTime, setMinTime, setRepeatType, setSpeed, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CameraFocusInputAction.CameraController(com.jme.renderer.Camera camera,
OrbitAction orbit)
camera - the cameraorbit - the orbit| Method Detail |
|---|
public boolean initialize(com.jme.math.Vector3f target,
float distance)
target - The new focus pointdistance - Move until this far from the target
public void update(float tpf)
update in class com.jme.scene.Controllertpf - the tpfController.update(float)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||