Method | Description | |
---|---|---|
Camera ( |
Constructs a camera object.
|
|
Move ( Microsoft.Xna.Framework.Vector3 amount ) : void |
Moves the camera by the desired amount
|
|
get_transformation ( ) : |
Gets the current transformation using the position and zoom.
|
public Camera ( |
||
viewport | Current viewport for the game | |
return | Microsoft.Xna.Framework |
public Move ( Microsoft.Xna.Framework.Vector3 amount ) : void | ||
amount | Microsoft.Xna.Framework.Vector3 | Vector3 representing the amount to move in each direction |
return | void |
public get_transformation ( ) : |
||
return |