LeviLamina
Loading...
Searching...
No Matches
CameraShakeComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/minecraft_camera/CameraShakeType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Random;
11class SimplexNoise;
12struct CameraShakeEvent;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 24, ::std::vector<::CameraShakeEvent>> mShakeEvents;
20 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SimplexNoise>> xAxisNoise;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SimplexNoise>> yAxisNoise;
22 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SimplexNoise>> zAxisNoise;
23 ::ll::TypedStorage<8, 8, double> mLastUpdatedTime;
24 ::ll::TypedStorage<4, 4, float> mNoiseTime;
25 ::ll::TypedStorage<4, 4, float> mShakeIntensity;
26 ::ll::TypedStorage<4, 4, float> mDecayRate;
27 ::ll::TypedStorage<1, 1, ::CameraShakeType> mShakeType;
28 ::ll::TypedStorage<1, 1, bool> mWasShaking;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI_C void initialize(::Random& random);
35
36 MCAPI_C bool queueShakeEvent(float intensity, float duration);
37 // NOLINTEND
38};
Definition CameraShakeComponent.h:15
Definition Random.h:10
Definition SimplexNoise.h:14
Definition CameraShakeEvent.h:5