isActive property

bool get isActive

Whether this result has active results in it.

This is used so that the objects in there can continue to live even when there is no result from a ray cast.

Implementation

bool get isActive => _hitbox != null;