Function Physics2DServerSingleton.bodyGetCollisionMask

Returns the physics layer or layers a body can collide with.

long bodyGetCollisionMask (
  const(RID) _body
) nothrow @nogc const;