Share via


FirstPersonCamera Members

Microsoft Robotics Class Reference

The FirstPersonCamera type exposes the following members.

Constructors

  Name Description
Public method FirstPersonCamera
Initializes a new instance of the FirstPersonCamera class

Methods

  Name Description
Protected method ConstrainToBoundary
Clamps V to lie inside boundaries
(Inherited from Camera.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Reset
Reset the camera's position back to the default
(Inherited from Camera.)
Public method SetProjectionParameters
Calculates the projection matrix based on input params
(Inherited from Camera.)
Public method SetViewParameters(Pose)
Client can call this to change the position and direction of camera using the pose
(Inherited from Camera.)
Public method SetViewParameters(Vector3, Vector3)
Client can call this to change the position and direction of camera
(Inherited from Camera.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Update
Update the view matrix based on user input and elapsed time
(Overrides Camera. . :: . .Update(Double, Boolean).)
Public method UpdateInput
Processes input device state
(Inherited from Camera.)
Protected method UpdateVelocity
Figure out the velocity based on keyboard input and drag if any
(Inherited from Camera.)

Fields

  Name Description
Protected field _acceleration
instantaneous acceleration
(Inherited from Camera.)
Protected field _aspectRatio
Aspect ratio
(Inherited from Camera.)
Protected field _cachedGamePadState
Previous frame game pad state
(Inherited from Camera.)
Protected field _cachedKeyboardState
Previous frame keyboard state
(Inherited from Camera.)
Protected field _cachedMouseState
Previous frame mouse state
(Inherited from Camera.)
Protected field _cameraPitchAngle
Pitch angle of camera
(Inherited from Camera.)
Protected field _cameraYawAngle
Yaw angle of camera
(Inherited from Camera.)
Protected field _defaultEye
Default camera eye position
(Inherited from Camera.)
Protected field _defaultLookAt
Default LookAt position
(Inherited from Camera.)
Protected field _dragTimer
Countdown timer to apply drag
(Inherited from Camera.)
Protected field _eye
Camera eye position
(Inherited from Camera.)
Protected field _farPlane
Far plane
(Inherited from Camera.)
Protected field _fieldOfView
Field of view
(Inherited from Camera.)
Protected field _inverseViewMatrix
The inverse of the View matrix
(Inherited from Camera.)
Protected field _isClipToBoundary
If true, then the camera will be clipped to the boundary
(Inherited from Camera.)
Protected field _isEnablePositionMovement
If true, then the user can translate the camera/model
(Inherited from Camera.)
Protected field _isEnableYAxisMovement
If true, then camera can move in the y-axis
(Inherited from Camera.)
Protected field _isInvertPitch
if true, inverts the pitch axis
(Inherited from Camera.)
Protected field _lookAt
Current LookAt position
(Inherited from Camera.)
Protected field _maxBoundary
Max point in clip boundary
(Inherited from Camera.)
Protected field _minBoundary
Min point in clip boundary
(Inherited from Camera.)
Protected field _moveScaler
Scaler for movement
(Inherited from Camera.)
Protected field _nearPlane
Near plane
(Inherited from Camera.)
Protected field _projMatrix
Projection matrix
(Inherited from Camera.)
Protected field _rotationScaler
Scaler for rotation
(Inherited from Camera.)
Protected field _rotationVelocity
Velocity of camera
(Inherited from Camera.)
Protected field _totalDragTimeToZero
Time it takes for velocity to go from full to 0
(Inherited from Camera.)
Protected field _velocity
Velocity of camera
(Inherited from Camera.)
Protected field _velocityDrag
Velocity drag force
(Inherited from Camera.)
Protected field _viewMatrix
View matrix
(Inherited from Camera.)
Protected field CameraWorld
World matrix of the camera (inverse of the view matrix)
Protected field keys
Array indexed by camera key value, indicating if key is pressed or not
(Inherited from Camera.)

Properties

  Name Description
Public property EyeLocation
Returns the location of the eye
(Inherited from Camera.)
Public property IsMouseButtonDown
True if any mouse button was depressed in the previous frame
(Inherited from Camera.)
Public property IsPositionMovementEnabled
Is position movement enabled
(Inherited from Camera.)
Public property LookAtPoint
Returns the look at point of the camera
(Inherited from Camera.)
Public property ProjectionMatrix
Returns the projection transformation matrix
(Inherited from Camera.)
Public property ViewDistance
Distance from eyepoint to lookat point
(Inherited from Camera.)
Public property ViewMatrix
Returns the view transformation matrix
(Inherited from Camera.)

See Also

FirstPersonCamera Class

Microsoft.Robotics.Simulation.Engine Namespace