Метод | Описание | |
---|---|---|
CenterCameraOnScreenPosition ( float x, float y ) : void | ||
CenterCameraOnWorldPosition ( float x, float y ) : void | ||
GetScreenPosition ( Vector2 worldPosition ) : Vector2 | ||
GetWorldPosition ( Vector2 screenPosition ) : Vector2 | ||
SetWorldSize ( float x, float y ) : void | ||
Update ( |
public static CenterCameraOnScreenPosition ( float x, float y ) : void | ||
x | float | |
y | float | |
Результат | void |
public static CenterCameraOnWorldPosition ( float x, float y ) : void | ||
x | float | |
y | float | |
Результат | void |
public static GetScreenPosition ( Vector2 worldPosition ) : Vector2 | ||
worldPosition | Vector2 | |
Результат | Vector2 |
public static GetWorldPosition ( Vector2 screenPosition ) : Vector2 | ||
screenPosition | Vector2 | |
Результат | Vector2 |
public static SetWorldSize ( float x, float y ) : void | ||
x | float | |
y | float | |
Результат | void |
public static Update ( |
||
gameTime | ||
Результат | void |