Function Physics2DShapeQueryParameters.setShape

Sets the Shape2D that will be used for collision/intersection queries.

void setShape (
  Resource shape
) nothrow @nogc;