프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Position | Vector2 |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
UpdateClient | void |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
UpdateClient ( ) : void |
public Camera ( |
||
managers | ||
리턴 | 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 | |
리턴 | Matrix |
public ScreenToWorld ( float screenX, float screenY, float &worldX, float &worldY ) : void | ||
screenX | float | |
screenY | float | |
worldX | float | |
worldY | float | |
리턴 | void |
public WorldToScreen ( float worldX, float worldY, float &screenX, float &screenY ) : void | ||
worldX | float | |
worldY | float | |
screenX | float | |
screenY | float | |
리턴 | void |