2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRCAMERASHAKERDATA
|
|
|
|
|
#define _SLDRCAMERASHAKERDATA
|
|
|
|
|
|
2025-01-14 03:13:17 +02:00
|
|
|
#include "Kyoto/Math/CMayaSpline.hpp"
|
2023-08-09 23:45:58 +03:00
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrCameraShakerData {
|
|
|
|
|
SLdrCameraShakerData();
|
|
|
|
|
~SLdrCameraShakerData();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
int flagsCameraShaker;
|
|
|
|
|
float attenuationDistance;
|
2025-01-14 03:13:17 +02:00
|
|
|
SLdrSpline horizontalMotion;
|
|
|
|
|
SLdrSpline verticalMotion;
|
|
|
|
|
SLdrSpline forwardMotion;
|
2023-08-09 23:45:58 +03:00
|
|
|
float duration;
|
2023-08-11 22:35:54 +03:00
|
|
|
int audioEffect;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrCameraShakerData(SLdrCameraShakerData&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRCAMERASHAKERDATA
|