C# 클래스 Indiefreaks.Xna.Rendering.Camera.FreeCamera3D

Implements a free 3d camera controlled by LogicalPlayerIndex.PlayerOne game pad
상속: Camera3D
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
FreeCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input

Creates a new Free Camera

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
MoveCamera ( Microsoft.Xna.Framework.Vector3 addedVector ) : void

Moves the camera

메소드 상세

FreeCamera3D() 공개 메소드

Creates a new Free Camera
public FreeCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input
aspectRatio float The aspect ratio is generally defined by the Viewport's Aspect ratio found in the GraphicsDevice instance of the game
fieldOfView float
nearPlaneDistance float
farPlaneDistance float
리턴 Indiefreaks.Xna.Input

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
리턴 Microsoft.Xna.Framework.Matrix