public class CameraController
extends java.lang.Object
Constructor and Description |
---|
CameraController(View view)
Constructs a new external mouse-driven camera controller, and
attaches it to the given view.
|
Modifier and Type | Method and Description |
---|---|
void |
getCameraSettings(float[] cam)
Delivers the current camera settings data in the
given array, whose length should be
CameraDataManager.SZ_CAM_DATA . |
void |
reinitialiseCameraControl(View view)
Reinitialises the camera controller, and
attaches it to a new View if necessary.
|
void |
resetCamera()
Resets this controller's settings to their standard values
and propagates these settings to the controlled JA
View . |
void |
setCamera(float[] cam)
Updates this controller's settings from the given array of
settings values, and propagates these settings to the
controlled JA
View . |
public CameraController(View view)
public void reinitialiseCameraControl(View view)
public void setCamera(float[] cam)
View
.public void resetCamera()
View
.public void getCameraSettings(float[] cam)
CameraDataManager.SZ_CAM_DATA
.