Function CameraSetSmoothingFactor

  • Sets the game camera's smoothing factor for scrolling with the mouse/keyboard. The default smoothing factor for the standard game camera is 0, where upon scrolling, the camera will immediately come to a stop. As the factor increases, the camera eases into a stop more and more gradually.

    Parameters

    • factor: number

      The smoothing factor. It is 0 by default.

    Returns void

Generated using TypeDoc