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
Показать файл Открыть проект

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

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