C# Класс Indiefreaks.Xna.Rendering.Camera.CameraManager.DefaultCamera

Internal camera used solely to avoid rendering without one. See CameraManager.Clear()
Наследование: Camera3D
Показать файл Открыть проект

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

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