CommonLibSSE (Parapets fork)
NiFloatKey.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiAnimationKey.h"
4 
5 namespace RE
6 {
7  class NiFloatKey : public NiAnimationKey
8  {
9  public:
11  NiFloatKey(float a_time, float a_value);
13 
14  [[nodiscard]] float GetValue() const;
15  void SetValue(float a_value);
16  NiFloatKey* GetKeyAt(std::uint32_t a_index, std::uint8_t a_keySize);
17 
18  protected:
19  float _value; // 04
20  };
21  static_assert(sizeof(NiFloatKey) == 0x8);
22 }
Definition: NiAnimationKey.h:6
Definition: NiFloatKey.h:8
NiFloatKey(float a_time, float a_value)
NiFloatKey * GetKeyAt(std::uint32_t a_index, std::uint8_t a_keySize)
float GetValue() const
void SetValue(float a_value)
float _value
Definition: NiFloatKey.h:19
Definition: AbsorbEffect.h:6