Goblin - A Platform for 3D AR and VR Applications

FirstPersonCamera Members

FirstPersonCamera overview

Public Instance Constructors

FirstPersonCamera Constructor Initializes a new instance of the FirstPersonCamera class.

Public Instance Properties

EyeLocation (inherited from Camera)Returns the location of the eye
IsBeingDragged (inherited from Camera)Is the camera being 'dragged' at all?
IsMouseLeftButtonDown (inherited from Camera)Is the left mouse button down
IsMouseMiddleButtonDown (inherited from Camera)Is the middle mouse button down
IsMouseRightButtonDown (inherited from Camera)Is the right mouse button down
IsPositionMovementEnabled (inherited from Camera)Is position movement enabled
LookAtPoint (inherited from Camera)Returns the look at point of the camera
ProjectionMatrix (inherited from Camera)Returns the projection transformation matrix
ViewMatrix (inherited from Camera)Returns the view transformation matrix

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FrameMove 
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 (inherited from Camera) Call this from your message proc so this class can handle window messages
Reset (inherited from Camera) Reset the camera's position back to the default
SetProjectionParameters (inherited from Camera) Calculates the projection matrix based on input params
SetRotationButtons Enable or disable each of the mouse buttons for rotation drag.
SetViewParameters (inherited from Camera) Client can call this to change the position and direction of camera
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

activeButtonMask 
aspectRatio (inherited from Camera) 
cameraPitchAngle (inherited from Camera) 
cameraWorld 
cameraYawAngle (inherited from Camera) 
currentButtonMask (inherited from Camera) 
defaultEye (inherited from Camera) 
defaultLookAt (inherited from Camera) 
dragRectangle (inherited from Camera) 
dragTimer (inherited from Camera) 
eye (inherited from Camera) 
farPlane (inherited from Camera) 
fieldOfView (inherited from Camera) 
framesToSmoothMouseData (inherited from Camera) 
isClipToBoundary (inherited from Camera) 
isEnablePositionMovement (inherited from Camera) 
isEnableYAxisMovement (inherited from Camera) 
isInvertPitch (inherited from Camera) 
isMouseLButtonDown (inherited from Camera) 
isMouseMButtonDown (inherited from Camera) 
isMouseRButtonDown (inherited from Camera) 
isMovementDrag (inherited from Camera) 
isResetCursorAfterMove (inherited from Camera) 
keys (inherited from Camera) 
lastMousePosition (inherited from Camera) 
lookAt (inherited from Camera) 
maxBoundary (inherited from Camera) 
minBoundary (inherited from Camera) 
mouseDelta (inherited from Camera) 
mouseWheelDelta (inherited from Camera) 
moveScaler (inherited from Camera) 
nearPlane (inherited from Camera) 
projMatrix (inherited from Camera) 
rotationScaler (inherited from Camera) 
rotationVelocity (inherited from Camera) 
totalDragTimeToZero (inherited from Camera) 
velocity (inherited from Camera) 
velocityDrag (inherited from Camera) 
viewMatrix (inherited from Camera) 

Protected Instance Methods

ConstrainToBoundary (inherited from Camera) 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 (inherited from Camera) Figure out the mouse delta based on mouse movement
UpdateVelocity (inherited from Camera) 

See Also

FirstPersonCamera Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace