DB/CameraShakes: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Actually there's no real Information. Mostly shaking cameras. | Actually there's no real Information. Mostly shaking cameras. | ||
==0.5.3.3368== | |||
struct CameraShakesRec { | |||
uint32_t m_ID; | |||
uint32_t m_shakeType; | |||
uint32_t m_direction; | |||
float m_amplitude; | |||
float m_frequency; | |||
float m_duration; | |||
float m_phase; | |||
float m_coefficient; | |||
}; | |||
==Structure== | ==Structure== | ||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" |
Revision as of 16:10, 5 June 2016
Actually there's no real Information. Mostly shaking cameras.
0.5.3.3368
struct CameraShakesRec { uint32_t m_ID; uint32_t m_shakeType; uint32_t m_direction; float m_amplitude; float m_frequency; float m_duration; float m_phase; float m_coefficient; };
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | shakeType | CGCameraShakeType | |
3 | direction | CGCameraDir | |
4 | amplitude | Float | Multiplied by 0.027777778f when passed to CGCamera::AddShake. |
5 | frequency | Float | |
6 | duration | Float | |
7 | phase | Float | |
8 | coefficient | Float |
Used in client:
CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );
6.0.1.18179
struct CameraShakesRec { uint32_t m_ID; uint32_t m_shakeType; uint32_t m_direction; float m_amplitude; float m_frequency; float m_duration; float m_phase; float m_coefficient; uint32_t m_flags; };