C# Class Protogame.FirstPersonCamera

The default implementation for IFirstPersonCamera.
Inheritance: IFirstPersonCamera
显示文件 Open project: RedpointGames/Protogame

Public Methods

Method Description
Apply ( IRenderContext renderContext, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 lookAt, Microsoft.Xna.Framework.Vector3 up, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : void

Method Details

Apply() public method

public Apply ( IRenderContext renderContext, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 lookAt, Microsoft.Xna.Framework.Vector3 up, float fieldOfView, float nearPlaneDistance, float farPlaneDistance ) : void
renderContext IRenderContext
position Microsoft.Xna.Framework.Vector3
lookAt Microsoft.Xna.Framework.Vector3
up Microsoft.Xna.Framework.Vector3
fieldOfView float
nearPlaneDistance float
farPlaneDistance float
return void