Camera.velocity Manual     Reference     Scripting  
Scripting > Runtime Classes > Camera
Camera.velocity

var velocity : Vector3

Description

Get the world-space speed of the camera (Read Only).

This camera's motion in units per second as it was during the last frame.

function Update () {
print ("Camera moving at " + camera.velocity.magnitude + " m/s");
}