SFML.Net
IntRectIntersects Method (IntRect, IntRect) |
Check intersection between two rectangles
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public bool Intersects( IntRect rect, out IntRect overlap )
Public Function Intersects ( rect As IntRect, <OutAttribute> ByRef overlap As IntRect ) As Boolean
public: bool Intersects( IntRect rect, [OutAttribute] IntRect% overlap )
member Intersects : rect : IntRect * overlap : IntRect byref -> bool
Parameters
- rect
- Type: SFML.GraphicsIntRect
Rectangle to test - overlap
- Type: SFML.GraphicsIntRect
Rectangle to be filled with overlapping rect
Return Value
Type: BooleanTrue if rectangles overlap
