Package guideme.scene
Class CameraSettings
java.lang.Object
guideme.scene.CameraSettings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
org.joml.Matrix4f
float
float
float
org.joml.Matrix4f
float
getZoom()
void
restore
(guideme.scene.SavedCameraSettings settings) guideme.scene.SavedCameraSettings
save()
void
setIsometricYawPitchRoll
(float yawDeg, float pitchDeg, float rollDeg) void
setOffsetX
(float offsetX) void
setOffsetY
(float offsetY) void
void
setRotationCenter
(org.joml.Vector3fc rotationCenter) void
setRotationX
(float rotationX) void
setRotationY
(float rotationY) void
setRotationZ
(float rotationZ) void
setViewportSize
(LytSize size) void
setZoom
(float zoom)
-
Constructor Details
-
CameraSettings
public CameraSettings()
-
-
Method Details
-
setViewportSize
-
getViewportSize
-
setPerspectivePreset
-
setIsometricYawPitchRoll
public void setIsometricYawPitchRoll(float yawDeg, float pitchDeg, float rollDeg) -
setZoom
public void setZoom(float zoom) -
getZoom
public float getZoom() -
getViewMatrix
public org.joml.Matrix4f getViewMatrix() -
getProjectionMatrix
public org.joml.Matrix4f getProjectionMatrix() -
getRotationX
public float getRotationX() -
setRotationX
public void setRotationX(float rotationX) -
getRotationY
public float getRotationY() -
setRotationY
public void setRotationY(float rotationY) -
getRotationZ
public float getRotationZ() -
setRotationZ
public void setRotationZ(float rotationZ) -
setRotationCenter
public void setRotationCenter(org.joml.Vector3fc rotationCenter) -
getOffsetX
public float getOffsetX() -
setOffsetX
public void setOffsetX(float offsetX) -
getOffsetY
public float getOffsetY() -
setOffsetY
public void setOffsetY(float offsetY) -
save
public guideme.scene.SavedCameraSettings save() -
restore
public void restore(guideme.scene.SavedCameraSettings settings)
-