Property | Type | Description | |
---|---|---|---|
Position | Vector2 |
Property | Type | Description | |
---|---|---|---|
UpdateClient | void |
Method | Description | |
---|---|---|
Camera ( |
||
GetTransformationMatirx ( float x, float y, float zoom, int clientWidth, int clientHeight ) : Matrix | ||
GetTransformationMatrix ( ) : Matrix | ||
ScreenToWorld ( float screenX, float screenY, float &worldX, float &worldY ) : void | ||
WorldToScreen ( float worldX, float worldY, float &screenX, float &screenY ) : void |
Method | Description | |
---|---|---|
UpdateClient ( ) : void |
public Camera ( |
||
managers | ||
return | System |
public static GetTransformationMatirx ( float x, float y, float zoom, int clientWidth, int clientHeight ) : Matrix | ||
x | float | |
y | float | |
zoom | float | |
clientWidth | int | |
clientHeight | int | |
return | Matrix |
public ScreenToWorld ( float screenX, float screenY, float &worldX, float &worldY ) : void | ||
screenX | float | |
screenY | float | |
worldX | float | |
worldY | float | |
return | void |
public WorldToScreen ( float worldX, float worldY, float &screenX, float &screenY ) : void | ||
worldX | float | |
worldY | float | |
screenX | float | |
screenY | float | |
return | void |