IShakableCamera Interface
Definition
Namespace: Brine2D.Rendering
Opt-in contract for cameras that support screen shake. The built-in Camera2D implements this. Custom ICamera implementations that don't need shake can skip this entirely.
Derived
↳ Camera2D
Implements ICamera
| Methods | |
|---|---|
| CancelShake() | Immediately cancels any active camera shake and resets the shake offset. |
| Shake\(float, float\) | Triggers a camera shake that decays over the specified duration. |
| UpdateShake\(float\) | Advances shake state. Called by CameraSystem each frame. |