CommonLibSSE (powerof3)
hkbClipGenerator.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkQsTransform.h"
5 #include "RE/H/hkbContext.h"
6 #include "RE/H/hkbEventBase.h"
7 #include "RE/H/hkbGenerator.h"
8 
9 namespace RE
10 {
12  {
13  };
14 
16  {
17  public:
18  float localTime; // 00
20  bool relativeToEndOfClip; // 18
21  bool acyclic; // 19
22  bool isAnnotation; // 1A
23  };
24  static_assert(sizeof(hkClipTrigger) == 0x20);
25 
27  {
28  public:
29  inline static constexpr auto RTTI = RTTI_hkbClipTriggerArray;
30  inline static constexpr auto VTABLE = VTABLE_hkbClipTriggerArray;
31 
32  ~hkbClipTriggerArray() override; // 00
33 
34  // members
36  };
37  static_assert(sizeof(hkbClipTriggerArray) == 0x20);
38 
40  {
41  public:
42  inline static constexpr auto RTTI = RTTI_hkbClipGenerator;
43  inline static constexpr auto VTABLE = VTABLE_hkbClipGenerator;
44 
46  {
51  kModeCount = 4
52  };
53 
54  ~hkbClipGenerator() override; // 00
55 
56  // override (hkbNode)
57  void Activate(const hkbContext& a_context) override; // 04
58  void Update(const hkbContext& a_context, float a_timestep) override; // 05
59  void Deactivate(const hkbContext& a_context) override; // 07
60 
61  // override (hkbGenerator)
62  void Generate(const hkbContext& a_context) override; // 17
63  void UpdateSync(const hkbContext& a_context) override; // 19
64 
65  // members
69  float cropEndAmountLocalTime; // 05C
70  float startTime; // 060
71  float playbackSpeed; // 064
72  float enforcedDuration; // 068
74  std::uint16_t animationBindingIndex; // 070
76  std::uint8_t flags; // 073
77  std::uint32_t unk74; // 074
81  hkaDefaultAnimationControlMapperData* mapperData; // 098
86  float localTime; // 0F0
87  float time; // 0F4
89  std::int32_t bufferSize; // 0FC
90  std::int32_t echoBufferSize; // 100
91  bool atEnd; // 104
92  bool ignoreStartTime; // 105
93  bool pingPongBackward; // 106
94  std::uint8_t pad107[9]; // 107
95  };
96  static_assert(sizeof(hkbClipGenerator) == 0x110);
97 }
Definition: hkArray.h:190
Definition: hkbClipGenerator.h:16
bool relativeToEndOfClip
Definition: hkbClipGenerator.h:20
hkbEventProperty event
Definition: hkbClipGenerator.h:19
bool isAnnotation
Definition: hkbClipGenerator.h:22
float localTime
Definition: hkbClipGenerator.h:18
bool acyclic
Definition: hkbClipGenerator.h:21
Definition: hkQsTransform.h:9
Definition: hkRefPtr.h:7
Definition: hkRefVariant.h:9
Definition: hkReferencedObject.h:11
Definition: hkStringPtr.h:6
Definition: hkaAnimationBinding.h:12
Definition: hkbClipGenerator.h:40
std::int32_t bufferSize
Definition: hkbClipGenerator.h:89
void Generate(const hkbContext &a_context) override
float enforcedDuration
Definition: hkbClipGenerator.h:72
hkStringPtr animationName
Definition: hkbClipGenerator.h:66
bool pingPongBackward
Definition: hkbClipGenerator.h:93
bool atEnd
Definition: hkbClipGenerator.h:91
hkArray< hkRefVariant > echos
Definition: hkbClipGenerator.h:85
void Activate(const hkbContext &a_context) override
std::uint8_t flags
Definition: hkbClipGenerator.h:76
float previousUserControlledTimeFraction
Definition: hkbClipGenerator.h:88
void Update(const hkbContext &a_context, float a_timestep) override
float localTime
Definition: hkbClipGenerator.h:86
PlaybackMode
Definition: hkbClipGenerator.h:46
@ kModeUserControlled
Definition: hkbClipGenerator.h:49
@ kModeLooping
Definition: hkbClipGenerator.h:48
@ kModeCount
Definition: hkbClipGenerator.h:51
@ kModeSinglePlay
Definition: hkbClipGenerator.h:47
@ kModePingPong
Definition: hkbClipGenerator.h:50
float startTime
Definition: hkbClipGenerator.h:70
float cropEndAmountLocalTime
Definition: hkbClipGenerator.h:69
hkRefPtr< hkbClipTriggerArray > originalTriggers
Definition: hkbClipGenerator.h:80
hkaAnimationBinding * binding
Definition: hkbClipGenerator.h:82
static constexpr auto VTABLE
Definition: hkbClipGenerator.h:43
std::int32_t echoBufferSize
Definition: hkbClipGenerator.h:90
float time
Definition: hkbClipGenerator.h:87
float userControlledTimeFraction
Definition: hkbClipGenerator.h:73
hkArray< hkRefVariant > animDatas
Definition: hkbClipGenerator.h:78
hkQsTransform extractedMotion
Definition: hkbClipGenerator.h:84
void UpdateSync(const hkbContext &a_context) override
float playbackSpeed
Definition: hkbClipGenerator.h:71
bool ignoreStartTime
Definition: hkbClipGenerator.h:92
~hkbClipGenerator() override
REX::EnumSet< PlaybackMode, uint8_t > mode
Definition: hkbClipGenerator.h:75
hkaDefaultAnimationControlMapperData * mapperData
Definition: hkbClipGenerator.h:81
hkRefPtr< hkbClipTriggerArray > triggers
Definition: hkbClipGenerator.h:67
std::uint32_t unk74
Definition: hkbClipGenerator.h:77
std::uint16_t animationBindingIndex
Definition: hkbClipGenerator.h:74
float cropStartAmountLocalTime
Definition: hkbClipGenerator.h:68
hkRefPtr< hkaDefaultAnimationControl > animationControl
Definition: hkbClipGenerator.h:79
static constexpr auto RTTI
Definition: hkbClipGenerator.h:42
hkRefVariant mirroredAnimation
Definition: hkbClipGenerator.h:83
void Deactivate(const hkbContext &a_context) override
std::uint8_t pad107[9]
Definition: hkbClipGenerator.h:94
Definition: hkbClipGenerator.h:27
static constexpr auto VTABLE
Definition: hkbClipGenerator.h:30
hkArray< hkClipTrigger > triggers
Definition: hkbClipGenerator.h:35
~hkbClipTriggerArray() override
static constexpr auto RTTI
Definition: hkbClipGenerator.h:29
Definition: hkbContext.h:13
Definition: hkbEventBase.h:10
Definition: hkbClipGenerator.h:12
Definition: hkbGenerator.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkbClipGenerator(static_cast< std::uint64_t >(689765))
constexpr std::array< REL::ID, 1 > VTABLE_hkbClipTriggerArray
Definition: Offsets_VTABLE.h:13986
constexpr REL::ID RTTI_hkbClipTriggerArray(static_cast< std::uint64_t >(689684))
constexpr std::array< REL::ID, 1 > VTABLE_hkbClipGenerator
Definition: Offsets_VTABLE.h:13984