PanningCamera¶
Warning
This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the Protogame.IPanningCamera service via dependency injection to access this functionality.
Information documented here may not be up to date.
-
class
PanningCamera
: System.Object, Protogame.IPanningCamera The default implementation for T:Protogame.IPanningCamera.
-
public void
Apply
(IRenderContext renderContext, Vector2 centerOfScreenPosition) Parameters: - renderContext (Protogame.IRenderContext) –
- centerOfScreenPosition (Microsoft.Xna.Framework.Vector2) –
-
public void