|
Mario Kart 64
|
#include <TourCamera.h>
Data Structures | |
| struct | CameraShot |
| struct | KeyFrame |
Public Types | |
| enum class | TOUR_TYPE { SEQUENTIAL = 0 , RANDOM , LOOP } |
Public Types inherited from GameCamera | |
| enum class | ProjectionMode { PERSPECTIVE , ORTHOGRAPHIC } |
Public Member Functions | |
| TourCamera (FVector pos, s16 rot, u32 mode) | |
| virtual void | Tick () override |
| virtual void | SetViewProjection () override |
| void | NextShot () |
| void | Reset () |
| void | Stop () |
| bool | IsTourComplete () |
| bool | MoveCameraAlongSpline (f32 *arg1, std::vector< KeyFrame > &keyFrame) |
| void | Draw () |
Public Member Functions inherited from GameCamera | |
| GameCamera () | |
| GameCamera (FVector spawn, s16 rot, u32 mode) | |
| ~GameCamera () | |
| virtual void | SetActive (bool state) |
| void | SetProjectionMode (GameCamera::ProjectionMode mode) |
| bool | IsActive () |
| Camera * | Get () |
| Mtx * | GetPerspMatrix () |
| Mtx * | GetLookAtMatrix () |
Data Fields | |
| TOUR_TYPE | Type |
| size_t | ShotIndex |
| size_t | KeyFrameIndex |
| f32 | KeyFrameProgress |
| bool | bShotComplete |
| bool | bTourComplete |
| bool | bActivateAudio |
| uint8_t | Alpha |
Data Fields inherited from GameCamera | |
| ProjectionMode | ProjMode |
Additional Inherited Members | |
Protected Attributes inherited from GameCamera | |
| Mtx | PerspectiveMatrix |
| Mtx | LookAtMatrix |
| bool | bActive |
| Camera * | _camera |
Static Protected Attributes inherited from GameCamera | |
| static size_t | _count = 0 |
Tour: A cutscene camera system to provide an overview of the track. How this works:
A tour consists of a series of camera shots. A shot consists of a series of keyframes. The camera is smoothly translated between keyframes using a cubic spline algorithm.
|
strong |
| TourCamera::TourCamera | ( | FVector | pos, |
| s16 | rot, | ||
| u32 | mode ) |
| void TourCamera::Draw | ( | ) |
| bool TourCamera::IsTourComplete | ( | ) |
| bool TourCamera::MoveCameraAlongSpline | ( | f32 * | arg1, |
| std::vector< KeyFrame > & | keyFrame ) |
| void TourCamera::NextShot | ( | ) |
| void TourCamera::Reset | ( | ) |
|
overridevirtual |
| void TourCamera::Stop | ( | ) |
|
overridevirtual |
| uint8_t TourCamera::Alpha |
| bool TourCamera::bActivateAudio |
| bool TourCamera::bShotComplete |
| bool TourCamera::bTourComplete |
| size_t TourCamera::KeyFrameIndex |
| f32 TourCamera::KeyFrameProgress |
| size_t TourCamera::ShotIndex |
| TOUR_TYPE TourCamera::Type |