CommonLibSSE (powerof3)
NiColorKey.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiAnimationKey.h"
4 #include "RE/N/NiColor.h"
5 
6 namespace RE
7 {
8  class NiColorKey : public NiAnimationKey
9  {
10  public:
12  NiColorKey(float a_time, const NiColorA& a_color);
14 
15  void SetColor(const NiColorA& a_color);
16  [[nodiscard]] const NiColorA& GetColor() const;
17  NiColorKey* GetKeyAt(std::uint32_t a_index, std::uint8_t a_keySize);
18 
19  protected:
20  // members
22  };
23  static_assert(sizeof(NiColorKey) == 0x14);
24 }
Definition: NiAnimationKey.h:6
Definition: NiColor.h:137
Definition: NiColorKey.h:9
void SetColor(const NiColorA &a_color)
NiColorA _color
Definition: NiColorKey.h:21
NiColorKey * GetKeyAt(std::uint32_t a_index, std::uint8_t a_keySize)
NiColorKey(float a_time, const NiColorA &a_color)
const NiColorA & GetColor() const
Definition: AbsorbEffect.h:6