First |
The FirstPersonCamera type exposes the following members.
Name | Description | |
---|---|---|
GetCameraPosition |
Returns the current position of the camera.
(Overrides CameraGetCameraPosition) | |
GetLookDirection |
Returns the normalized look direction of the camera.
(Overrides CameraGetLookDirection) | |
GetUpDirection |
Returns the normalized up direction of the camera.
(Overrides CameraGetUpDirection) | |
MoveBackward | Moves the camera backward (in the opposite as look direction) | |
MoveCamera | Moves the camera for the moveVector (regardless of the current camera's LookDirection and UpDirection) | |
MoveDown | Moves the camera down (in the opposite up direction) | |
MoveFor | Animates the CameraPosition by changing it for the specified cameraPositionOffset. The animation takes animationDurationInMilliseconds and uses the specified easingFunction. | |
MoveForward | Moves the camera forward (in the look direction) | |
MoveLeft | Moves the camera left (strafe) | |
MoveRight | Moves the camera right (strafe) | |
MoveTo | Animates the CameraPosition to the finalTargetPosition. The animation takes animationDurationInMilliseconds and uses the specified easingFunction. | |
MoveUp | Moves the camera up (in the up direction) | |
RotateFor | Animates the camera rotation with changing the Camera's Heading and Attitude for the specified amount. The animation takes animationDurationInMilliseconds and uses easingFunction. | |
RotateTo | Animates the camera rotation to the targetHeading and targetAttitude. The animation takes animationDurationInMilliseconds and uses easingFunction. By default (when useShortestPath is true), the animation uses the shortest path to get to the target heading and attitude. | |
StrafeCamera | Strafes the camera - moves it in the direction perpendicular to the camera's LookDirection and UpDirection. | |
TurnToDirection | Turns the camera to the specified direction | |
TurnToPosition | Turns the camera to the direction of the specified position | |
Update |
Update method updates the camera matrices when needed (when there were any change in the camera properties) or when forceMatrixUpdate is set to true.
(Overrides CameraUpdate(Boolean)) |