C# 클래스 RTS.FreeCamera

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

공개 메소드들

메소드 설명
ControlCamera ( float dt, InputManager input, Viewport vp ) : void
FreeCamera ( Vector3 c, float yaw, float pitch, float aspect = DEFAULT_ASPECT ) : System
GetViewRay ( Vector2 screenPos, int ww, int wh ) : Microsoft.Xna.Framework.Ray
UpdateProjection ( float aspect, float near = PROJ_NEAR, float far = PROJ_FAR ) : void
UpdateView ( ) : void

메소드 상세

ControlCamera() 공개 메소드

public ControlCamera ( float dt, InputManager input, Viewport vp ) : void
dt float
input BlisterUI.Input.InputManager
vp Microsoft.Xna.Framework.Graphics.Viewport
리턴 void

FreeCamera() 공개 메소드

public FreeCamera ( Vector3 c, float yaw, float pitch, float aspect = DEFAULT_ASPECT ) : System
c Vector3
yaw float
pitch float
aspect float
리턴 System

GetViewRay() 공개 메소드

public GetViewRay ( Vector2 screenPos, int ww, int wh ) : Microsoft.Xna.Framework.Ray
screenPos Vector2
ww int
wh int
리턴 Microsoft.Xna.Framework.Ray

UpdateProjection() 공개 메소드

public UpdateProjection ( float aspect, float near = PROJ_NEAR, float far = PROJ_FAR ) : void
aspect float
near float
far float
리턴 void

UpdateView() 공개 메소드

public UpdateView ( ) : void
리턴 void