CommonLibSSE (powerof3)
hkaDefaultAnimationControl.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkVector4.h"
5 
6 namespace RE
7 {
8  class hkaDefaultAnimationControlMapperData;
9  class hkaDefaultAnimationControlListener;
10 
12  {
13  public:
14  inline static constexpr auto RTTI = RTTI_hkaDefaultAnimationControl;
15  inline static constexpr auto VTABLE = VTABLE_hkaDefaultAnimationControl;
16 
17  enum class EaseStatus
18  {
19  kEasingIn = 0,
20  kEasedIn,
21  kEasingOut,
22  kEasedOut
23  };
24 
25  ~hkaDefaultAnimationControl() override; // 00
26 
27  // override (hkaAnimationControl)
28  void Update(float a_stepDelta) override; // 03
29  void GetFutureTime(float a_stepDelta, float& a_localTimeOut, std::int32_t& a_loopsOut) const override; // 04
30  void SampleTracks(hkQsTransform* a_transformTracksOut, float* a_floatTracksOut, hkaChunkCache* a_cache) const override; // 05
31  void SamplePartialTracks(std::uint32_t a_maxNumTransformTracks, hkQsTransform* a_transformTracksOut, std::uint32_t a_maxNumFloatTracks, float* a_floatTracksOut, hkaChunkCache* a_cache) const override; // 06
32  void GetExtractedMotionDeltaReferenceFrame(float a_deltaTime, hkQsTransform& a_deltaMotionOut) const override; // 07
33  std::int32_t GetNumberOfTransformTracks() const override; // 08
34  std::int32_t GetNumberOfFloatTracks() const override; // 09
35  std::int32_t GetNumTransformTrackToBoneIndices() const override; // 0A
36  const std::int16_t* GetTransformTrackToBoneIndices() const override; // 0B
37 
38  // members
39  float masterWeight; // 58
40  float playbackSpeed; // 5C
41  std::uint32_t overflowCount; // 60
42  std::uint32_t underflowCount; // 64
43  std::int32_t maxCycles; // 68
44  std::uint32_t pad6C; // 6C
47  float easeInvDuration; // 90
48  float easeT; // 94
52  std::uint32_t padA4; // A4
54  hkaDefaultAnimationControlMapperData* mapper; // B8
55  };
56 }
Definition: hkQsTransform.h:9
Definition: hkVector4.h:9
Definition: hkaAnimationControl.h:13
Definition: hkaDefaultAnimationControl.h:12
std::uint32_t underflowCount
Definition: hkaDefaultAnimationControl.h:42
void Update(float a_stepDelta) override
void SamplePartialTracks(std::uint32_t a_maxNumTransformTracks, hkQsTransform *a_transformTracksOut, std::uint32_t a_maxNumFloatTracks, float *a_floatTracksOut, hkaChunkCache *a_cache) const override
void GetExtractedMotionDeltaReferenceFrame(float a_deltaTime, hkQsTransform &a_deltaMotionOut) const override
static constexpr auto VTABLE
Definition: hkaDefaultAnimationControl.h:15
float playbackSpeed
Definition: hkaDefaultAnimationControl.h:40
EaseStatus easeStatus
Definition: hkaDefaultAnimationControl.h:49
std::uint32_t overflowCount
Definition: hkaDefaultAnimationControl.h:41
void GetFutureTime(float a_stepDelta, float &a_localTimeOut, std::int32_t &a_loopsOut) const override
float cropStartAmountLocalTime
Definition: hkaDefaultAnimationControl.h:50
hkVector4 easeOutCurve
Definition: hkaDefaultAnimationControl.h:46
const std::int16_t * GetTransformTrackToBoneIndices() const override
std::int32_t GetNumberOfTransformTracks() const override
void SampleTracks(hkQsTransform *a_transformTracksOut, float *a_floatTracksOut, hkaChunkCache *a_cache) const override
static constexpr auto RTTI
Definition: hkaDefaultAnimationControl.h:14
hkArray< hkaDefaultAnimationControlListener > defaultListeners
Definition: hkaDefaultAnimationControl.h:53
hkVector4 easeInCurve
Definition: hkaDefaultAnimationControl.h:45
EaseStatus
Definition: hkaDefaultAnimationControl.h:18
std::int32_t maxCycles
Definition: hkaDefaultAnimationControl.h:43
std::int32_t GetNumberOfFloatTracks() const override
float easeInvDuration
Definition: hkaDefaultAnimationControl.h:47
std::uint32_t padA4
Definition: hkaDefaultAnimationControl.h:52
float cropEndAmountLocalTime
Definition: hkaDefaultAnimationControl.h:51
float masterWeight
Definition: hkaDefaultAnimationControl.h:39
float easeT
Definition: hkaDefaultAnimationControl.h:48
std::uint32_t pad6C
Definition: hkaDefaultAnimationControl.h:44
hkaDefaultAnimationControlMapperData * mapper
Definition: hkaDefaultAnimationControl.h:54
std::int32_t GetNumTransformTrackToBoneIndices() const override
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_hkaDefaultAnimationControl
Definition: Offsets_VTABLE.h:13924
constexpr REL::ID RTTI_hkaDefaultAnimationControl(static_cast< std::uint64_t >(690060))