Function PhysicsBody2D.setCollisionMaskBit

Sets individual bits on the collisionMask bitmask. Use this if you only need to change one layer's value.

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