C# 클래스 Indiefreaks.Xna.Rendering.Camera.CameraManager.DefaultCamera

Internal camera used solely to avoid rendering without one. See CameraManager.Clear()
상속: Camera3D
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
DefaultCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : System

Creates a new instance of the DefaultCamera

보호된 메소드들

메소드 설명
UpdateInput ( InputManager input ) : void

Override this method to catch input events and act on the camera

UpdateViewMatrix ( GameTime gameTime ) : Matrix

Override this method to update the ViewMatrix property

메소드 상세

DefaultCamera() 공개 메소드

Creates a new instance of the DefaultCamera
public DefaultCamera ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : System
aspectRatio float
fieldOfView float
nearPlaneDistance float
farPlaneDistance float
리턴 System

UpdateInput() 보호된 메소드

Override this method to catch input events and act on the camera
protected UpdateInput ( InputManager input ) : void
input InputManager The current input instance
리턴 void

UpdateViewMatrix() 보호된 메소드

Override this method to update the ViewMatrix property
protected UpdateViewMatrix ( GameTime gameTime ) : Matrix
gameTime Microsoft.Xna.Framework.GameTime
리턴 Matrix