Function PhysicsBody2D.setCollisionLayer

void setCollisionLayer (
  const(long) layer
) nothrow @nogc;