Property | Type | Description |
---|
Method | Description | |
---|---|---|
Initialize ( |
||
Initialize ( |
||
ScreenToWorld ( float x, float y ) : |
||
Update ( |
||
ViewportContains ( float x, float y ) : bool | ||
WorldToScreen ( float x, float y ) : |
||
Zoom ( ) : System | ||
Zoom ( bool invertY ) : System | ||
ZoomReset ( ) : void | ||
ZoomUpdate ( int amount, float focusX, float focusY ) : bool |
Zoom in or out of the viewport.
|
public Initialize ( |
||
screen | ||
return | void |
public Initialize ( |
||
screen | ||
world | ||
return | void |
public ScreenToWorld ( float x, float y ) : |
||
x | float | |
y | float | |
return |
public ViewportContains ( float x, float y ) : bool | ||
x | float | |
y | float | |
return | bool |
public WorldToScreen ( float x, float y ) : |
||
x | float | |
y | float | |
return |
public ZoomUpdate ( int amount, float focusX, float focusY ) : bool | ||
amount | int | Zoom amount |
focusX | float | Relative x point position |
focusY | float | Relative y point position |
return | bool |