Click or drag to resize

PanZoomRotateCam Fields

The PanZoomRotateCam type exposes the following members.

Fields
  NameDescription
Public fieldPan
Whether to allow panning.
Public fieldPanSpeed
Panning speed.
Public fieldPanZoomFactor
Order of magnitude zoom level affects panning speed.
Public fieldRotate
Whether to allow rotation.
Public fieldRotateSpeed
The rotation speed.
Public fieldSmoothing

Smoothing to apply while Lerp-ing.

Applies to position, rotation and orthographicSize.

Public fieldView

Area/bounds to focus on, be it a Transform, Renderer or Collider.

Will be origin if not provided.

Public fieldZoom
Whether to allow zooming.
Public fieldZoomMax
Maximum orthographicSize if camera is orthographic, camera position in forward axis otherwise.
Public fieldZoomMin
Minimum orthographicSize if camera is orthographic, camera position in forward axis otherwise.
Public fieldZoomSpeed
Zooming speed.
Top
See Also