public class CameraPerspective extends GlTFProperty
| Constructor and Description |
|---|
CameraPerspective() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getAspectRatio()
The floating-point aspect ratio of the field of view.
|
java.lang.Float |
getYfov()
The floating-point vertical field of view in radians.
|
java.lang.Float |
getZfar()
The floating-point distance to the far clipping plane.
|
java.lang.Float |
getZnear()
The floating-point distance to the near clipping plane.
|
void |
setAspectRatio(java.lang.Float aspectRatio)
The floating-point aspect ratio of the field of view.
|
void |
setYfov(java.lang.Float yfov)
The floating-point vertical field of view in radians.
|
void |
setZfar(java.lang.Float zfar)
The floating-point distance to the far clipping plane.
|
void |
setZnear(java.lang.Float znear)
The floating-point distance to the near clipping plane.
|
addExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setAspectRatio(java.lang.Float aspectRatio)
aspectRatio - The aspectRatio to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Float getAspectRatio()
public void setYfov(java.lang.Float yfov)
yfov - The yfov to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Float getYfov()
public void setZfar(java.lang.Float zfar)
zfar - The zfar to setjava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Float getZfar()
public void setZnear(java.lang.Float znear)
znear - The znear to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.lang.Float getZnear()
Copyright © 2024. All Rights Reserved.