Mindshifter.ICamera Interface Reference

ICamera defines a basic camera interface with support for retrieving the camera's view and projection matrices, bounding frustum and eye position. More...

Inherited by Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.

Inheritance diagram for Mindshifter.ICamera:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Update (float elapsedSeconds)
 Performs any required updates to the camera's values based on the specified elapsed time.
Ray GetPickRay (Vector2 position, Viewport viewport)
 Returns a world space ray cast from the specified screen projected position.

Properties

Matrix ViewMatrix [get]
 Gets the camera's view matrix.
Matrix ProjectionMatrix [get]
 Gets the camera's projection matrix.
BoundingFrustum Frustum [get]
 Gets the camera's frustum.
Vector3 Position [get]
 Gets the camera's eye position.

Detailed Description

ICamera defines a basic camera interface with support for retrieving the camera's view and projection matrices, bounding frustum and eye position.

Definition at line 12 of file ICamera.cs.


Member Function Documentation

void Mindshifter.ICamera.Update ( float  elapsedSeconds  ) 

Performs any required updates to the camera's values based on the specified elapsed time.

Parameters:
elapsedSeconds The elapsed time in seconds since the last call to Update()

Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.

Ray Mindshifter.ICamera.GetPickRay ( Vector2  position,
Viewport  viewport 
)

Returns a world space ray cast from the specified screen projected position.

Parameters:
position The position in screen space to cast a ray from
viewport The viewport through which to unproject the specified position
Returns:
The world space ray with origin and direction based on the specified screen projected position

Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.


Property Documentation

Matrix Mindshifter.ICamera.ViewMatrix [get]

Gets the camera's view matrix.

Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.

Definition at line 17 of file ICamera.cs.

Matrix Mindshifter.ICamera.ProjectionMatrix [get]

Gets the camera's projection matrix.

Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.

Definition at line 22 of file ICamera.cs.

BoundingFrustum Mindshifter.ICamera.Frustum [get]

Gets the camera's frustum.

Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.

Definition at line 27 of file ICamera.cs.

Vector3 Mindshifter.ICamera.Position [get]

Gets the camera's eye position.

Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.

Definition at line 32 of file ICamera.cs.


The documentation for this interface was generated from the following file:
Generated on Mon Mar 31 03:29:21 2008 for Cameras by  doxygen 1.5.1-p1