Shape2D.collide

Returns true if this shape is colliding with another. This method needs the transformation matrix for this shape (local_xform), the shape to check collisions with (with_shape), and the transformation matrix of that shape (shape_xform).

struct Shape2D
@nogc nothrow
bool
collide
(
in Transform2D local_xform
,,
in Transform2D shape_xform
)

Meta