CommonLibSSE NG
NiAnimationKey.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
7  public:
8  enum class KeyContent
9  {
10  kFloat,
11  kPos,
12  kRot,
13  kColor,
14  kText,
15  kBool,
16 
17  kTotal
18  };
19 
20  enum class KeyType
21  {
22  kNoInterp,
23  kLink,
24  kBez,
25  kTCB,
26  kEuler,
27  kStrip,
28 
29  kTotal
30  };
31 
33  NiAnimationKey(float a_time);
35 
36  [[nodiscard]] float GetTime() const;
37  void SetTime(float a_time);
38  [[nodiscard]] NiAnimationKey* GetKeyAt(std::uint32_t a_index, std::uint8_t a_keySize) const;
39 
40  protected:
41  // members
42  float _time; // 00
43  };
44  static_assert(sizeof(NiAnimationKey) == 0x4);
45 }
Definition: NiAnimationKey.h:6
float _time
Definition: NiAnimationKey.h:42
NiAnimationKey * GetKeyAt(std::uint32_t a_index, std::uint8_t a_keySize) const
void SetTime(float a_time)
NiAnimationKey(float a_time)
KeyContent
Definition: NiAnimationKey.h:9
float GetTime() const
KeyType
Definition: NiAnimationKey.h:21
Definition: AbsorbEffect.h:6