|
| bool | EventProcess (const Event &event) |
| | Management of an event. More...
|
| |
| void | Init (Math::Vector eye, Math::Vector lookat, float delay) |
| | Initializes the camera. More...
|
| |
| void | SetControllingObject (CObject *object) |
| | Sets the object controlling the camera. More...
|
| |
| CObject * | GetControllingObject () |
| | Gets the object controlling the camera. More...
|
| |
| void | SetType (CameraType type) |
| | Change the type of camera. More...
|
| |
| CameraType | GetType () |
| | Get the type of the camera. More...
|
| |
| void | SetSmooth (CameraSmooth type) |
| | Set smoothing mode. More...
|
| |
| CameraSmooth | GetSmooth () |
| | Get smoothing mode. More...
|
| |
| void | GetCamera (Math::Vector &eye, Math::Vector &lookat) |
| | Returns the current point of view of the camera. More...
|
| |
|
| void | StartVisit (Math::Vector goal, float dist) |
| | Start visit camera. More...
|
| |
| void | StopVisit () |
| | Stop visit camera. More...
|
| |
|
| bool | StartCentering (CObject *object, float angleH, float angleV, float dist, float time) |
| | Move camera to show happening action. More...
|
| |
| bool | StopCentering (CObject *object, float time) |
| | Go back to normal position after showing some happening action. More...
|
| |
| void | AbortCentering () |
| | Abort centering animation in the current position. More...
|
| |
|
| void | StartEffect (CameraEffect effect, Math::Vector pos, float force) |
| | Starts a camera shake effect. More...
|
| |
| void | FlushEffect () |
| | Removes the camera shake effect. More...
|
| |
|
| void | StartOver (CameraOverEffect effect, Math::Vector pos, float force) |
| | Starts camera overlay effect. More...
|
| |
| void | FlushOver () |
| | Removes camera overlay effect. More...
|
| |
| void | SetOverBaseColor (Color color) |
| | Specifies camera overlay effect base color. More...
|
| |
|
| void | SetScriptCamera (Math::Vector eye, Math::Vector lookat) |
| | Script camera: Set camera position. More...
|
| |
| void | SetScriptCameraAnimate (Math::Vector eye, Math::Vector lookat) |
| | Script camera: Animate to given camera position. More...
|
| |
| void | SetScriptCameraAnimateEye (Math::Vector eye) |
| | Script camera: Animate to given eye position. More...
|
| |
| void | SetScriptCameraAnimateLookat (Math::Vector lookat) |
| | Script camera: Animate to given lookat position. More...
|
| |
|
| CEngine * | m_engine |
| | The type of camera. More...
|
| |
| CRobotMain * | m_main |
| | The type of camera. More...
|
| |
| CTerrain * | m_terrain |
| | The type of camera. More...
|
| |
| CWater * | m_water |
| | The type of camera. More...
|
| |
| CInput * | m_input |
| | The type of camera. More...
|
| |
| CameraType | m_type |
| | The type of camera. More...
|
| |
| CameraSmooth | m_smooth |
| | Type of smoothing. More...
|
| |
| CObject * | m_cameraObj |
| | Object linked to the camera. More...
|
| |
| float | m_initDelay |
| | Remaining time of initial camera entry animation. More...
|
| |
| Math::Vector | m_actualEye |
| | Current eye. More...
|
| |
| Math::Vector | m_actualLookat |
| | Current aim. More...
|
| |
| Math::Vector | m_finalEye |
| | Final eye. More...
|
| |
| Math::Vector | m_finalLookat |
| | Final lookat. More...
|
| |
| Math::Vector | m_prevEye |
| | Eye position at the moment of entering CAM_TYPE_INFO/CAM_TYPE_VISIT. More...
|
| |
| Math::Vector | m_prevLookat |
| | Lookat position at the moment of entering CAM_TYPE_INFO/CAM_TYPE_VISIT. More...
|
| |
| float | m_focus |
| | The type of camera. More...
|
| |
| Math::Vector | m_eyePt |
| | CAM_TYPE_FREE: eye. More...
|
| |
| float | m_directionH |
| | CAM_TYPE_FREE: horizontal direction. More...
|
| |
| float | m_directionV |
| | CAM_TYPE_FREE: vertical direction. More...
|
| |
| float | m_heightEye |
| | CAM_TYPE_FREE: height above the ground. More...
|
| |
| float | m_heightLookat |
| | CAM_TYPE_FREE: height above the ground. More...
|
| |
| float | m_speed |
| | CAM_TYPE_FREE: speed of movement. More...
|
| |
| float | m_backDist |
| | CAM_TYPE_BACK: distance. More...
|
| |
| float | m_backMin |
| | CAM_TYPE_BACK: minimal distance. More...
|
| |
| float | m_addDirectionH |
| | CAM_TYPE_BACK: additional horizontal direction. More...
|
| |
| float | m_addDirectionV |
| | CAM_TYPE_BACK: additional vertical direction. More...
|
| |
| float | m_fixDist |
| | CAM_TYPE_FIX: distance. More...
|
| |
| float | m_fixDirectionH |
| | CAM_TYPE_FIX: horizontal direction. More...
|
| |
| float | m_fixDirectionV |
| | CAM_TYPE_FIX: vertical direction. More...
|
| |
| Math::Vector | m_visitGoal |
| | CAM_TYPE_VISIT: target position. More...
|
| |
| float | m_visitDist |
| | CAM_TYPE_VISIT: distance. More...
|
| |
| float | m_visitTime |
| | CAM_TYPE_VISIT: relative time. More...
|
| |
| CameraType | m_visitType |
| | CAM_TYPE_VISIT: initial type. More...
|
| |
| float | m_visitDirectionV |
| | CAM_TYPE_VISIT: direction. More...
|
| |
| Math::Point | m_mousePos = Math::Point(0.5f, 0.5f) |
| | Last known mouse position, used to calculate change since last frame. More...
|
| |
| Math::Point | m_mouseDelta = Math::Point(0.0f, 0.0f) |
| | Change of mouse position since last frame. More...
|
| |
| Math::Point | m_mouseDeltaEdge = Math::Point(0.0f, 0.0f) |
| | Change of camera position caused by edge camera. More...
|
| |
| float | m_mouseWheelDelta = 0.0f |
| | Change of mouse wheel since last frame. More...
|
| |
| CenteringPhase | m_centeringPhase |
| | The type of camera. More...
|
| |
| float | m_centeringAngleH |
| | The type of camera. More...
|
| |
| float | m_centeringAngleV |
| | The type of camera. More...
|
| |
| float | m_centeringDist |
| | The type of camera. More...
|
| |
| float | m_centeringCurrentH |
| | The type of camera. More...
|
| |
| float | m_centeringCurrentV |
| | The type of camera. More...
|
| |
| float | m_centeringTime |
| | The type of camera. More...
|
| |
| float | m_centeringProgress |
| | The type of camera. More...
|
| |
| CameraEffect | m_effectType |
| | The type of camera. More...
|
| |
| Math::Vector | m_effectPos |
| | The type of camera. More...
|
| |
| float | m_effectForce |
| | The type of camera. More...
|
| |
| float | m_effectProgress |
| | The type of camera. More...
|
| |
| Math::Vector | m_effectOffset |
| | The type of camera. More...
|
| |
| CameraOverEffect | m_overType |
| | The type of camera. More...
|
| |
| float | m_overForce |
| | The type of camera. More...
|
| |
| float | m_overTime |
| | The type of camera. More...
|
| |
| Color | m_overColorBase |
| | The type of camera. More...
|
| |
| Color | m_overColor |
| | The type of camera. More...
|
| |
| int | m_overMode |
| | The type of camera. More...
|
| |
| float | m_overFadeIn |
| | The type of camera. More...
|
| |
| float | m_overFadeOut |
| | The type of camera. More...
|
| |
| Math::Vector | m_scriptEye |
| | The type of camera. More...
|
| |
| Math::Vector | m_scriptLookat |
| | The type of camera. More...
|
| |
| bool | m_freeze = false |
| | Is camera frozen? More...
|
| |
| bool | m_effect |
| | The type of camera. More...
|
| |
| bool | m_blood |
| | The type of camera. More...
|
| |
| bool | m_oldCameraScroll |
| | The type of camera. More...
|
| |
| bool | m_cameraInvertX |
| | The type of camera. More...
|
| |
| bool | m_cameraInvertY |
| | The type of camera. More...
|
| |
| void | SetEffect (bool enable) |
| | The type of camera. More...
|
| |
| bool | GetEffect () |
| | The type of camera. More...
|
| |
| void | SetBlood (bool enable) |
| | The type of camera. More...
|
| |
| bool | GetBlood () |
| | The type of camera. More...
|
| |
| void | SetOldCameraScroll (bool scroll) |
| | The type of camera. More...
|
| |
| bool | GetOldCameraScroll () |
| | The type of camera. More...
|
| |
| void | SetCameraInvertX (bool invert) |
| | The type of camera. More...
|
| |
| bool | GetCameraInvertX () |
| | The type of camera. More...
|
| |
| void | SetCameraInvertY (bool invert) |
| | The type of camera. More...
|
| |
| bool | GetCameraInvertY () |
| | The type of camera. More...
|
| |
| void | SetFreeze (bool freeze) |
| | Temporarily freeze camera movement. More...
|
| |
| void | SetCameraSpeed (float speed) |
| | Set camera speed. More...
|
| |
| void | EffectFrame (const Event &event) |
| | Advances the effect of the camera. More...
|
| |
| void | OverFrame (const Event &event) |
| | Advanced overlay effect in the foreground. More...
|
| |
| bool | EventFrameFree (const Event &event, bool keysAllowed) |
| | The type of camera. More...
|
| |
| bool | EventFrameBack (const Event &event) |
| | The type of camera. More...
|
| |
| bool | EventFrameFix (const Event &event) |
| | The type of camera. More...
|
| |
| bool | EventFrameExplo (const Event &event) |
| | The type of camera. More...
|
| |
| bool | EventFrameOnBoard (const Event &event) |
| | The type of camera. More...
|
| |
| bool | EventFrameVisit (const Event &event) |
| | The type of camera. More...
|
| |
| bool | EventFrameScript (const Event &event) |
| | The type of camera. More...
|
| |
| void | UpdateCameraAnimation (const Math::Vector &eyePt, const Math::Vector &lookatPt, float rTime) |
| | Calculates camera animation and sends updated camera position to the 3D engine. More...
|
| |
| void | IsCollision (Math::Vector &eye, Math::Vector lookat) |
| | Avoid the obstacles. More...
|
| |
| void | IsCollisionBack () |
| | Avoid the obstacles (CAM_TYPE_BACK) More...
|
| |
| void | IsCollisionFix (Math::Vector &eye, Math::Vector lookat) |
| | Avoid the obstacles (CAM_TYPE_FIX or CAM_TYPE_PLANE) More...
|
| |
| Math::Vector | ExcludeTerrain (Math::Vector eye, Math::Vector lookat, float &angleH, float &angleV) |
| | Adjusts the camera not to enter the ground. More...
|
| |
| Math::Vector | ExcludeObject (Math::Vector eye, Math::Vector lookat, float &angleH, float &angleV) |
| | Adjusts the camera not to enter an object. More...
|
| |
| void | SetViewParams (const Math::Vector &eye, const Math::Vector &lookat, const Math::Vector &up=Math::Vector(0.0f, 1.0f, 0.0f)) |
| | Updates the location and direction of the camera in the 3D engine. More...
|
| |
| Math::Vector | CalculateCameraMovement (const Event &event, bool keysAllowed=true) |
| | Calculate camera movement (from user inputs) to apply. More...
|
| |
Camera moving in 3D scene.
This class manages everything related to animating the camera in 3D scene. Calculated values are then passed to Gfx::CEngine.