Function RayCast.getCollisionMaskBit

Returns true if the bit index passed is turned on. Note: Bit indices range from 0-19.

bool getCollisionMaskBit (
  const(long) bit
) nothrow @nogc const;