setFov method
- Set camera fov
valuefov to be setted
Implementation
void setFov(double value) {
if (camera is PerspectiveCamera) {
camera.fov = MathUtils.clamp(value, minFov, maxFov);
camera.updateProjectionMatrix();
}
}
value fov to be settedvoid setFov(double value) {
if (camera is PerspectiveCamera) {
camera.fov = MathUtils.clamp(value, minFov, maxFov);
camera.updateProjectionMatrix();
}
}