ICamera.ClampToBounds(Rectangle) Method
Definition
Namespace: Brine2D.Rendering
Clamps the camera position to stay within world bounds.
Parameters
worldBounds Rectangle
The world boundaries to clamp to.
Namespace: Brine2D.Rendering
Clamps the camera position to stay within world bounds.
worldBounds Rectangle
The world boundaries to clamp to.