@EqualityReference public final class JCameraSphericalLinearIntegrator extends Object implements JCameraSphericalLinearIntegratorType
JCameraSphericalLinearIntegratorType.| Modifier and Type | Method and Description |
|---|---|
void |
integrate(float t)
Integrate the positions/velocities of the current camera over
d. |
JCameraSphericalType |
integratorGetCamera() |
JCameraSphericalInputType |
integratorGetInput() |
void |
integratorLinearTargetSetAcceleration(float a)
Set the linear acceleration (of the camera target) to
a. |
void |
integratorLinearTargetSetDrag(float f)
Set the linear drag factor (of the camera target) to
f. |
void |
integratorLinearTargetSetMaximumSpeed(float s)
Set the maximum linear movement speed (of the camera target) to
s. |
void |
integratorLinearZoomSetAcceleration(float a)
Set the linear acceleration (of the camera zoom) to
a. |
void |
integratorLinearZoomSetDrag(float f)
Set the linear drag factor (of the camera zoom) to
f. |
void |
integratorLinearZoomSetMaximumSpeed(float s)
Set the maximum linear movement speed (of the camera zoom) to
s. |
static JCameraSphericalLinearIntegratorType |
newIntegrator(JCameraSphericalType in_camera,
JCameraSphericalInputType in_input)
Construct a new integrator.
|
public static JCameraSphericalLinearIntegratorType newIntegrator(JCameraSphericalType in_camera, JCameraSphericalInputType in_input)
in_camera - The camera to be integrated.in_input - The input to be sampled.public void integrate(float t)
JCameraIntegratorTyped.integrate in interface JCameraIntegratorTypet - The delta timepublic JCameraSphericalType integratorGetCamera()
integratorGetCamera in interface JCameraSphericalLinearIntegratorTypepublic JCameraSphericalInputType integratorGetInput()
integratorGetInput in interface JCameraSphericalLinearIntegratorTypepublic void integratorLinearTargetSetAcceleration(float a)
JCameraSphericalLinearIntegratorTypea.integratorLinearTargetSetAcceleration in interface JCameraSphericalLinearIntegratorTypea - The linear acceleration.public void integratorLinearTargetSetDrag(float f)
JCameraSphericalLinearIntegratorTypef.integratorLinearTargetSetDrag in interface JCameraSphericalLinearIntegratorTypef - The linear drag factor.public void integratorLinearTargetSetMaximumSpeed(float s)
JCameraSphericalLinearIntegratorTypes.integratorLinearTargetSetMaximumSpeed in interface JCameraSphericalLinearIntegratorTypes - The maximum linear speed.public void integratorLinearZoomSetAcceleration(float a)
JCameraSphericalLinearIntegratorTypea.integratorLinearZoomSetAcceleration in interface JCameraSphericalLinearIntegratorTypea - The linear acceleration.public void integratorLinearZoomSetDrag(float f)
JCameraSphericalLinearIntegratorTypef.integratorLinearZoomSetDrag in interface JCameraSphericalLinearIntegratorTypef - The linear drag factor.public void integratorLinearZoomSetMaximumSpeed(float s)
JCameraSphericalLinearIntegratorTypes.integratorLinearZoomSetMaximumSpeed in interface JCameraSphericalLinearIntegratorTypes - The maximum linear speed.Copyright © 2016 <code@io7m.com> http://io7m.com