Package com.io7m.jcamera
Interface JCameraFPSStyleSnapshotType
- All Superinterfaces:
JCameraFPSStyleReadableType,JCameraReadableSnapshotType,JCameraReadableType
- All Known Implementing Classes:
JCameraFPSStyleSnapshot
@Immutable
public interface JCameraFPSStyleSnapshotType
extends JCameraFPSStyleReadableType, JCameraReadableSnapshotType
An immutable snapshot of a camera.
-
Method Summary
Modifier and TypeMethodDescriptiondoubledoublecom.io7m.jtensors.core.unparameterized.vectors.Vector3Dcom.io7m.jtensors.core.unparameterized.vectors.Vector3Dcom.io7m.jtensors.core.unparameterized.vectors.Vector3Dcom.io7m.jtensors.core.unparameterized.vectors.Vector3Ddefault com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4DConstruct a view matrix for the camera.default <T0,T1> com.io7m.jtensors.core.parameterized.matrices.PMatrix4x4D<T0, T1> Construct a view matrix for the camera.
-
Method Details
-
cameraGetAngleAroundHorizontal
@Parameter double cameraGetAngleAroundHorizontal()- Specified by:
cameraGetAngleAroundHorizontalin interfaceJCameraFPSStyleReadableType- Returns:
- The angle around the horizontal axis.
-
cameraGetAngleAroundVertical
@Parameter double cameraGetAngleAroundVertical()- Specified by:
cameraGetAngleAroundVerticalin interfaceJCameraFPSStyleReadableType- Returns:
- The angle around the vertical axis.
-
cameraGetRight
@Parameter com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetRight()- Specified by:
cameraGetRightin interfaceJCameraFPSStyleReadableType- Returns:
- The right direction for the camera.
-
cameraGetUp
@Parameter com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetUp()- Specified by:
cameraGetUpin interfaceJCameraFPSStyleReadableType- Returns:
- The up direction for the camera.
-
cameraGetForward
@Parameter com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetForward()- Specified by:
cameraGetForwardin interfaceJCameraFPSStyleReadableType- Returns:
- The forward direction for the camera.
-
cameraGetPosition
@Parameter com.io7m.jtensors.core.unparameterized.vectors.Vector3D cameraGetPosition()- Specified by:
cameraGetPositionin interfaceJCameraFPSStyleReadableType- Returns:
- The position of the camera.
-
cameraMakeViewMatrix
default com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4D cameraMakeViewMatrix()Description copied from interface:JCameraReadableTypeConstruct a view matrix for the camera.- Specified by:
cameraMakeViewMatrixin interfaceJCameraReadableType- Returns:
- A view matrix for the camera
-
cameraMakeViewPMatrix
default <T0,T1> com.io7m.jtensors.core.parameterized.matrices.PMatrix4x4D<T0,T1> cameraMakeViewPMatrix()Description copied from interface:JCameraReadableTypeConstruct a view matrix for the camera.- Specified by:
cameraMakeViewPMatrixin interfaceJCameraReadableType- Type Parameters:
T0- The source coordinate systemT1- The target coordiante system- Returns:
- A view matrix for the camera
-