C# 클래스 RenderingLibrary.Camera

파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Position Vector2

Private Properties

프로퍼티 타입 설명
UpdateClient void

공개 메소드들

메소드 설명
Camera ( SystemManagers managers ) : System
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

메소드 상세

Camera() 공개 메소드

public Camera ( SystemManagers managers ) : System
managers SystemManagers
리턴 System

GetTransformationMatirx() 공개 정적인 메소드

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

GetTransformationMatrix() 공개 메소드

public GetTransformationMatrix ( ) : Matrix
리턴 Matrix

ScreenToWorld() 공개 메소드

public ScreenToWorld ( float screenX, float screenY, float &worldX, float &worldY ) : void
screenX float
screenY float
worldX float
worldY float
리턴 void

WorldToScreen() 공개 메소드

public WorldToScreen ( float worldX, float worldY, float &screenX, float &screenY ) : void
worldX float
worldY float
screenX float
screenY float
리턴 void

프로퍼티 상세

Position 공개적으로 프로퍼티

public Vector2 Position
리턴 Vector2