CommonLibVR
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  private:
14  KEEP_FOR_RE()
15  };
16 
18  {
19  public:
20  float localTime; // 00
22  bool relativeToEndOfClip; // 18
23  bool acyclic; // 19
24  bool isAnnotation; // 1A
25  private:
26  KEEP_FOR_RE()
27  };
28  static_assert(sizeof(hkClipTrigger) == 0x20);
29 
31  {
32  public:
33  inline static constexpr auto RTTI = RTTI_hkbClipTriggerArray;
34  inline static constexpr auto VTABLE = VTABLE_hkbClipTriggerArray;
35 
36  ~hkbClipTriggerArray() override; // 00
37 
38  // members
40  private:
41  KEEP_FOR_RE()
42  };
43  static_assert(sizeof(hkbClipTriggerArray) == 0x20);
44 
46  {
47  public:
48  inline static constexpr auto RTTI = RTTI_hkbClipGenerator;
49  inline static constexpr auto VTABLE = VTABLE_hkbClipGenerator;
50 
52  {
57  kModeCount = 4
58  };
59 
60  ~hkbClipGenerator() override; // 00
61 
62  // override (hkbNode)
63  void Activate(const hkbContext& a_context) override; // 04
64  void Update(const hkbContext& a_context, float a_timestep) override; // 05
65  void Deactivate(const hkbContext& a_context) override; // 07
66 
67  // override (hkbGenerator)
68  void Generate(const hkbContext& a_context) override; // 17
69  void UpdateSync(const hkbContext& a_context) override; // 19
70 
71  // members
75  float cropEndAmountLocalTime; // 05C
76  float startTime; // 060
77  float playbackSpeed; // 064
78  float enforcedDuration; // 068
80  std::uint16_t animationBindingIndex; // 070
82  std::uint8_t flags; // 073
83  std::uint32_t unk74; // 074
87  hkaDefaultAnimationControlMapperData* mapperData; // 098
92  float localTime; // 0F0
93  float time; // 0F4
95  std::int32_t bufferSize; // 0FC
96  std::int32_t echoBufferSize; // 100
97  bool atEnd; // 104
98  bool ignoreStartTime; // 105
99  bool pingPongBackward; // 106
100  std::uint8_t pad107[9]; // 107
101  private:
102  KEEP_FOR_RE()
103  };
104  static_assert(sizeof(hkbClipGenerator) == 0x110);
105 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkArray.h:190
Definition: hkbClipGenerator.h:18
bool relativeToEndOfClip
Definition: hkbClipGenerator.h:22
hkbEventProperty event
Definition: hkbClipGenerator.h:21
bool isAnnotation
Definition: hkbClipGenerator.h:24
float localTime
Definition: hkbClipGenerator.h:20
bool acyclic
Definition: hkbClipGenerator.h:23
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:46
std::int32_t bufferSize
Definition: hkbClipGenerator.h:95
void Generate(const hkbContext &a_context) override
float enforcedDuration
Definition: hkbClipGenerator.h:78
hkStringPtr animationName
Definition: hkbClipGenerator.h:72
bool pingPongBackward
Definition: hkbClipGenerator.h:99
bool atEnd
Definition: hkbClipGenerator.h:97
hkArray< hkRefVariant > echos
Definition: hkbClipGenerator.h:91
void Activate(const hkbContext &a_context) override
std::uint8_t flags
Definition: hkbClipGenerator.h:82
float previousUserControlledTimeFraction
Definition: hkbClipGenerator.h:94
void Update(const hkbContext &a_context, float a_timestep) override
float localTime
Definition: hkbClipGenerator.h:92
stl::enumeration< PlaybackMode, uint8_t > mode
Definition: hkbClipGenerator.h:81
PlaybackMode
Definition: hkbClipGenerator.h:52
@ kModeUserControlled
Definition: hkbClipGenerator.h:55
@ kModeLooping
Definition: hkbClipGenerator.h:54
@ kModeCount
Definition: hkbClipGenerator.h:57
@ kModeSinglePlay
Definition: hkbClipGenerator.h:53
@ kModePingPong
Definition: hkbClipGenerator.h:56
float startTime
Definition: hkbClipGenerator.h:76
float cropEndAmountLocalTime
Definition: hkbClipGenerator.h:75
hkRefPtr< hkbClipTriggerArray > originalTriggers
Definition: hkbClipGenerator.h:86
hkaAnimationBinding * binding
Definition: hkbClipGenerator.h:88
static constexpr auto VTABLE
Definition: hkbClipGenerator.h:49
std::int32_t echoBufferSize
Definition: hkbClipGenerator.h:96
float time
Definition: hkbClipGenerator.h:93
float userControlledTimeFraction
Definition: hkbClipGenerator.h:79
hkArray< hkRefVariant > animDatas
Definition: hkbClipGenerator.h:84
hkQsTransform extractedMotion
Definition: hkbClipGenerator.h:90
void UpdateSync(const hkbContext &a_context) override
float playbackSpeed
Definition: hkbClipGenerator.h:77
bool ignoreStartTime
Definition: hkbClipGenerator.h:98
~hkbClipGenerator() override
hkaDefaultAnimationControlMapperData * mapperData
Definition: hkbClipGenerator.h:87
hkRefPtr< hkbClipTriggerArray > triggers
Definition: hkbClipGenerator.h:73
std::uint32_t unk74
Definition: hkbClipGenerator.h:83
std::uint16_t animationBindingIndex
Definition: hkbClipGenerator.h:80
float cropStartAmountLocalTime
Definition: hkbClipGenerator.h:74
hkRefPtr< hkaDefaultAnimationControl > animationControl
Definition: hkbClipGenerator.h:85
static constexpr auto RTTI
Definition: hkbClipGenerator.h:48
hkRefVariant mirroredAnimation
Definition: hkbClipGenerator.h:89
void Deactivate(const hkbContext &a_context) override
std::uint8_t pad107[9]
Definition: hkbClipGenerator.h:100
Definition: hkbClipGenerator.h:31
static constexpr auto VTABLE
Definition: hkbClipGenerator.h:34
hkArray< hkClipTrigger > triggers
Definition: hkbClipGenerator.h:39
~hkbClipTriggerArray() override
static constexpr auto RTTI
Definition: hkbClipGenerator.h:33
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