C# Класс Indiefreaks.Xna.Rendering.Camera.FreeCamera3D

Implements a free 3d camera controlled by LogicalPlayerIndex.PlayerOne game pad
Наследование: Camera3D
Показать файл Открыть проект

Открытые методы

Метод Описание
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