setFov method

dynamic setFov(
  1. dynamic value
)

Set camera fov @param {Number} value fov to be setted

Implementation

setFov(value) {
  if (camera is PerspectiveCamera) {
    camera.fov = MathUtils.clamp(value, minFov, maxFov);
    camera.updateProjectionMatrix();
  }
}