Function Physics2DServerSingleton.bodyGetCollisionLayer

Returns the physics layer or layers a body belongs to.

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