Function Physics2DServerSingleton.areaSetShape

Substitutes a given area shape by another. The old shape is selected by its index, the new one by its RID.

void areaSetShape (
  const(RID) area,
  const(long) shape_idx,
  const(RID) shape
) nothrow @nogc;