FirstPersonCamera Members
Microsoft Robotics Class Reference
The FirstPersonCamera type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FirstPersonCamera |
Initializes a new instance of the FirstPersonCamera class
|
Methods
Name | Description | |
---|---|---|
ConstrainToBoundary |
Clamps V to lie inside boundaries
(Inherited from Camera.) |
|
Equals | (Inherited from Object.) | |
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.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Reset |
Reset the camera's position back to the default
(Inherited from Camera.) |
|
SetProjectionParameters |
Calculates the projection matrix based on input params
(Inherited from Camera.) |
|
SetViewParameters(Pose) |
Client can call this to change the position and direction of camera using the pose
(Inherited from Camera.) |
|
SetViewParameters(Vector3, Vector3) |
Client can call this to change the position and direction of camera
(Inherited from Camera.) |
|
ToString | (Inherited from Object.) | |
Update |
Update the view matrix based on user input and elapsed time
(Overrides Camera. . :: . .Update(Double, Boolean).) |
|
UpdateInput |
Processes input device state
(Inherited from Camera.) |
|
UpdateVelocity |
Figure out the velocity based on keyboard input and drag if any
(Inherited from Camera.) |
Fields
Name | Description | |
---|---|---|
_acceleration |
instantaneous acceleration
(Inherited from Camera.) |
|
_aspectRatio |
Aspect ratio
(Inherited from Camera.) |
|
_cachedGamePadState |
Previous frame game pad state
(Inherited from Camera.) |
|
_cachedKeyboardState |
Previous frame keyboard state
(Inherited from Camera.) |
|
_cachedMouseState |
Previous frame mouse state
(Inherited from Camera.) |
|
_cameraPitchAngle |
Pitch angle of camera
(Inherited from Camera.) |
|
_cameraYawAngle |
Yaw angle of camera
(Inherited from Camera.) |
|
_defaultEye |
Default camera eye position
(Inherited from Camera.) |
|
_defaultLookAt |
Default LookAt position
(Inherited from Camera.) |
|
_dragTimer |
Countdown timer to apply drag
(Inherited from Camera.) |
|
_eye |
Camera eye position
(Inherited from Camera.) |
|
_farPlane |
Far plane
(Inherited from Camera.) |
|
_fieldOfView |
Field of view
(Inherited from Camera.) |
|
_inverseViewMatrix |
The inverse of the View matrix
(Inherited from Camera.) |
|
_isClipToBoundary |
If true, then the camera will be clipped to the boundary
(Inherited from Camera.) |
|
_isEnablePositionMovement |
If true, then the user can translate the camera/model
(Inherited from Camera.) |
|
_isEnableYAxisMovement |
If true, then camera can move in the y-axis
(Inherited from Camera.) |
|
_isInvertPitch |
if true, inverts the pitch axis
(Inherited from Camera.) |
|
_lookAt |
Current LookAt position
(Inherited from Camera.) |
|
_maxBoundary |
Max point in clip boundary
(Inherited from Camera.) |
|
_minBoundary |
Min point in clip boundary
(Inherited from Camera.) |
|
_moveScaler |
Scaler for movement
(Inherited from Camera.) |
|
_nearPlane |
Near plane
(Inherited from Camera.) |
|
_projMatrix |
Projection matrix
(Inherited from Camera.) |
|
_rotationScaler |
Scaler for rotation
(Inherited from Camera.) |
|
_rotationVelocity |
Velocity of camera
(Inherited from Camera.) |
|
_totalDragTimeToZero |
Time it takes for velocity to go from full to 0
(Inherited from Camera.) |
|
_velocity |
Velocity of camera
(Inherited from Camera.) |
|
_velocityDrag |
Velocity drag force
(Inherited from Camera.) |
|
_viewMatrix |
View matrix
(Inherited from Camera.) |
|
CameraWorld |
World matrix of the camera (inverse of the view matrix)
|
|
keys |
Array indexed by camera key value, indicating if key is pressed or not
(Inherited from Camera.) |
Properties
Name | Description | |
---|---|---|
EyeLocation |
Returns the location of the eye
(Inherited from Camera.) |
|
IsMouseButtonDown |
True if any mouse button was depressed in the previous frame
(Inherited from Camera.) |
|
IsPositionMovementEnabled |
Is position movement enabled
(Inherited from Camera.) |
|
LookAtPoint |
Returns the look at point of the camera
(Inherited from Camera.) |
|
ProjectionMatrix |
Returns the projection transformation matrix
(Inherited from Camera.) |
|
ViewDistance |
Distance from eyepoint to lookat point
(Inherited from Camera.) |
|
ViewMatrix |
Returns the view transformation matrix
(Inherited from Camera.) |