Version: 
Back to list

Scene :: rayCast

Synopsis

   

GUI Dialog

   

Script function

   scene.rayCast(ray, root) -> hit

Parameters

   ray (Ray) : The ray to cast
   root (Occurrence) : The root occurrence to cast from

Return value

   hit (RayHit) : Information of the first ray hit