![]() MapKey | Maps NativeMethods.WindowMessage.Key* msg to a camera key |
EyeLocation | Returns the location of the eye |
IsBeingDragged | Is the camera being 'dragged' at all? |
IsMouseLeftButtonDown | Is the left mouse button down |
IsMouseMiddleButtonDown | Is the middle mouse button down |
IsMouseRightButtonDown | Is the right mouse button down |
IsPositionMovementEnabled | Is position movement enabled |
LookAtPoint | Returns the look at point of the camera |
ProjectionMatrix | Returns the projection transformation matrix |
ViewMatrix | Returns the view transformation matrix |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FrameMove | Abstract method to control camera during frame move |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
HandleMessages | Call this from your message proc so this class can handle window messages |
Reset | Reset the camera's position back to the default |
SetProjectionParameters | Calculates the projection matrix based on input params |
SetViewParameters | Client can call this to change the position and direction of camera |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Camera Constructor
|
Constructor for the base camera class (Sets up camera defaults) |
ConstrainToBoundary | Clamps V to lie inside boundaries |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
UpdateMouseDelta | Figure out the mouse delta based on mouse movement |
UpdateVelocity |
Camera Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace