HandleUtility.RaySnap

static function RaySnap (ray : Ray) : object

Returns

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

Description

Casts ray against the scene.