Property | Type | Description | |
---|---|---|---|
maxZoom | int | ||
minZoom | int | ||
position | Vector2 | ||
zoomAmount | float |
Method | Description | |
---|---|---|
Camera ( ) : System | ||
Move ( Vector2 amount ) : void | ||
Transform ( GraphicsDevice graphics ) : Matrix | ||
Update ( ) : void | ||
globalToLocal ( Vector2 pos ) : Vector2 | ||
localToGLobal ( Vector2 pos ) : Vector2 |
public Transform ( GraphicsDevice graphics ) : Matrix | ||
graphics | GraphicsDevice | |
return | Matrix |
public static globalToLocal ( Vector2 pos ) : Vector2 | ||
pos | Vector2 | |
return | Vector2 |
public static localToGLobal ( Vector2 pos ) : Vector2 | ||
pos | Vector2 | |
return | Vector2 |