#include <camerashakesystem.h>
Classes | |
| class | CameraShakerClass |
Public Types | |
| enum | { FLAGS_NONE = 0 , FLAGS_IGNOREPOSITION } |
Public Member Functions | |
| CameraShakeSystemClass (void) | |
| ~CameraShakeSystemClass (void) | |
| void | Add_Camera_Shake (const Vector3 &position, float radius=50.0f, float duration=1.5f, float power=1.0f) |
| void | Timestep (float dt) |
| bool | IsCameraShaking (void) |
| void | Update_Camera_Shaker (Vector3 camera_position, Vector3 *shaker_angles) |
Protected Attributes | |
| MultiListClass< CameraShakerClass > | CameraShakerList |
CameraShakeSystemClass This class encapsulates all of the logic and data needed to implement camera "shakes" These are used to simulate explosions, earthquakes, etc.
Definition at line 55 of file camerashakesystem.h.
| anonymous enum |
| Enumerator | |
|---|---|
| FLAGS_NONE | |
| FLAGS_IGNOREPOSITION | |
Definition at line 62 of file camerashakesystem.h.
| CameraShakeSystemClass::CameraShakeSystemClass | ( | void | ) |
Definition at line 186 of file camerashakesystem.cpp.
| CameraShakeSystemClass::~CameraShakeSystemClass | ( | void | ) |
Definition at line 190 of file camerashakesystem.cpp.
| void CameraShakeSystemClass::Add_Camera_Shake | ( | const Vector3 & | position, |
| float | radius = 50.0f, | ||
| float | duration = 1.5f, | ||
| float | power = 1.0f ) |
Definition at line 202 of file camerashakesystem.cpp.
| bool CameraShakeSystemClass::IsCameraShaking | ( | void | ) |
Definition at line 223 of file camerashakesystem.cpp.
| void CameraShakeSystemClass::Timestep | ( | float | dt | ) |
Definition at line 239 of file camerashakesystem.cpp.
| void CameraShakeSystemClass::Update_Camera_Shaker | ( | Vector3 | camera_position, |
| Vector3 * | shaker_angles ) |
Definition at line 265 of file camerashakesystem.cpp.
|
protected |
Definition at line 105 of file camerashakesystem.h.