HandleUtility.RaySnap Manual     Reference     Scripting  
Scripting > Editor Classes > HandleUtility
HandleUtility.RaySnap

static function RaySnap (ray : Ray) : object

Returns

object - a boxed RaycastHit, null if nothing hit it.

Description

Casts ray against the scene.