Function Camera2D.setLimit

Sets the specified camera limit. See also limitBottom, limitTop, limitLeft, and limitRight.

void setLimit (
  const(long) margin,
  const(long) limit
) nothrow @nogc;