CameraSetSmoothingFactor
- Parameters
-
factor real
The smoothing factor. It is 0 by default.
- comment
-
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.
- patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native CameraSetSmoothingFactor takes real factor returns nothing