Inherited by Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.
Inheritance diagram for Mindshifter.ICamera:
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. |
Definition at line 12 of file ICamera.cs.
void Mindshifter.ICamera.Update | ( | float | elapsedSeconds | ) |
Performs any required updates to the camera's values based on the specified elapsed time.
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.
position | The position in screen space to cast a ray from | |
viewport | The viewport through which to unproject the specified position |
Implemented in Mindshifter.LookAtCamera, Mindshifter.OrbitCamera, and Mindshifter.QuaternionCamera.
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.