CameraHelper
Namespace: Murder.Utilities
Assembly: Murder.dll
public static class CameraHelper
⭐ Methods
GetSafeGridBounds(Camera2D, Rectangle, int)
public ValueTuple<T1, T2, T3, T4> GetSafeGridBounds(Camera2D camera, Rectangle rect, int extraPadding)
Parameters
camera
Camera2D
rect
Rectangle
extraPadding
int
Returns
ValueTuple<T1, T2, T3, T4>
GetSafeGridBounds(Camera2D, Map)
public ValueTuple<T1, T2, T3, T4> GetSafeGridBounds(Camera2D camera, Map map)
Parameters
camera
Camera2D
map
Map
Returns
ValueTuple<T1, T2, T3, T4>
⚡