The Function Distance to Camera Interest command in the expression editor inserts the token ctr_dist_cam_int(<elem1>) at the insertion point in the editing pane. This token returns the distance between the center of an object and the interest of the output. Replace the dummy argument <elem1> with an object name.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License