hasHit property

bool hasHit
getter/setter pair

Will be set to true during intersectWorld() if the ray hit anything.

Implementation

bool hasHit = false;