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

A simple static camera that can be placed anywhere in the world using its StaticPosition and Target position
상속: Camera3D
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

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

Creates a new instance of the 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

메소드 상세

TargetCamera3D() 공개 메소드

Creates a new instance of the camera
public TargetCamera3D ( float aspectRatio, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : Indiefreaks.Xna.Input
aspectRatio float
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