Function RayCast2D.setCollisionMaskBit

Sets or clears individual bits on the collision mask. This makes selecting the areas scanned easier.

void setCollisionMaskBit (
  const(long) bit,
  const(bool) value
) nothrow @nogc;