public class CameraSettings
extends java.lang.Object
Constructor and Description |
---|
CameraSettings(boolean inverted,
FOV fov,
Resolution resolution)
Creates an instance of the CameraSettings class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
FOV |
getFov()
Get the field of view of the camera in degrees.
|
Resolution |
getResolution()
Get the resolution of the camera's image in pixels.
|
int |
hashCode() |
boolean |
isInverted()
Determines whether the camera is upside-down.
|
void |
setFov(FOV fov)
Set the field of view of the camera in degrees.
|
void |
setInverted(boolean inverted)
Set if the camera is upside-down.
|
void |
setResolution(Resolution resolution)
Set the resolution of the camera's image in pixels.
|
java.lang.String |
toString() |
public CameraSettings(boolean inverted, FOV fov, Resolution resolution)
inverted
- Whether the camera is upside-down.fov
- The field of view of the camera in degrees.resolution
- The resolution of the camera in pixels.public boolean isInverted()
public void setInverted(boolean inverted)
inverted
- True if the camera is upside-down.public FOV getFov()
public void setFov(FOV fov)
fov
- The field of view in degrees.public Resolution getResolution()
public void setResolution(Resolution resolution)
resolution
- The resolution of the image.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object