Function Physics2DServerSingleton.bodySetCollisionLayer

Sets the physics layer or layers a body belongs to.

void bodySetCollisionLayer (
  const(RID) _body,
  const(long) layer
) nothrow @nogc;