public class DefaultCameraPerspectiveModel extends java.lang.Object implements CameraPerspectiveModel
CameraPerspectiveModel| Constructor and Description |
|---|
DefaultCameraPerspectiveModel() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getAspectRatio()
Returns the aspect ratio
|
java.lang.Float |
getYfov()
Returns the FOV, in y-direction, in radians
|
java.lang.Float |
getZfar()
Returns the distance of the far clipping plane
|
java.lang.Float |
getZnear()
Returns the distance of the near clipping plane
|
void |
setAspectRatio(java.lang.Float aspectRatio)
Set the aspect ratio
|
void |
setYfov(java.lang.Float yfov)
Set the FOV
|
void |
setZfar(java.lang.Float zfar)
Set the far clipping plane distance
|
void |
setZnear(java.lang.Float znear)
Set the near clipping plane distance
|
public void setAspectRatio(java.lang.Float aspectRatio)
aspectRatio - The aspect ratiopublic void setYfov(java.lang.Float yfov)
yfov - The FOVpublic void setZfar(java.lang.Float zfar)
zfar - The distancepublic void setZnear(java.lang.Float znear)
znear - The distancepublic java.lang.Float getAspectRatio()
CameraPerspectiveModelgetAspectRatio in interface CameraPerspectiveModelpublic java.lang.Float getYfov()
CameraPerspectiveModelgetYfov in interface CameraPerspectiveModelpublic java.lang.Float getZfar()
CameraPerspectiveModelgetZfar in interface CameraPerspectiveModelpublic java.lang.Float getZnear()
CameraPerspectiveModelgetZnear in interface CameraPerspectiveModelCopyright © 2022. All Rights Reserved.