CommonLibSSE NG
Loading...
Searching...
No Matches
RE::hkaAnimation Class Referenceabstract

#include <hkaAnimation.h>

Inheritance diagram for RE::hkaAnimation:
RE::hkReferencedObject RE::hkBaseObject

Classes

struct  DataChunk
 
struct  TrackAnnotation
 

Public Types

enum class  AnimationType {
  kUnknownAnimation = 0 , kInterleavedAnimation , kDeltaCompressedAnimation , kWaveletCompressedAnimation ,
  kMirroredAnimation , kSplineCompressedAnimation , kQuantizedCompressedAnimation
}
 
- Public Types inherited from RE::hkReferencedObject
enum class  LockMode { kNone = 0 , kAuto , kManual }
 
enum  { kMemSize = 0x7FFF }
 

Public Member Functions

virtual void SampleTracks (float a_time, hkQsTransform *a_transformTracksOut, float *a_floatTracksOut, hkaChunkCache *cache) const =0
 
virtual void SamplePartialTracks (float a_time, std::uint32_t a_maxNumTransformTracks, hkQsTransform *a_transformTracksOut, std::uint32_t a_maxNumFloatTracks, float *a_floatTracksOut, hkaChunkCache *a_cache) const
 
virtual void ClearAllCacheKeys (hkaChunkCache *a_cache) const
 
virtual void SampleIndividualTransformTracks (float a_time, const std::uint16_t *a_tracks, std::uint32_t a_numTracks, hkQsTransform *a_transformOut) const =0
 
virtual void SampleIndividualFloatTracks (float a_time, const std::uint16_t *a_tracks, std::uint32_t a_numTracks, float *a_out) const =0
 
virtual std::int32_t GetNumOriginalFrames () const =0
 
virtual std::int32_t GetNumDataChunks (std::uint32_t a_frame, float a_delta) const
 
virtual void GetDataChunks (std::uint32_t a_frame, float a_delta, DataChunk *a_dataChunks, std::int32_t a_numDataChunks) const
 
virtual std::int32_t GetMaxSizeOfCombinedDataChunks () const
 
virtual void GetExtractedMotionReferenceFrame (float a_time, hkQsTransform &a_motionOut) const
 
virtual void GetExtractedMotionDeltaReferenceFrame (float a_time, float a_nextTime, std::int32_t a_loops, hkQsTransform &a_deltaMotionOut, float a_cropStartAmount, float a_cropEndAmount) const
 
virtual std::uint32_t GetNumAnnotations (float a_startTime, float a_deltaTime) const
 
virtual std::uint32_t GetAnnotations (float a_startTime, float a_deltaTime, TrackAnnotation *a_annotationsOut, std::uint32_t a_maxAnnotations) const
 
- Public Member Functions inherited from RE::hkReferencedObject
 hkReferencedObject ()
 
 ~hkReferencedObject () override=default
 
virtual const hkClass * GetClassType () const
 
virtual void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const
 
void AddReference () const
 
std::int32_t GetAllocatedSize () const
 
std::int32_t GetReferenceCount () const
 
void RemoveReference () const
 
- Public Member Functions inherited from RE::hkBaseObject
virtual ~hkBaseObject ()=default
 

Public Attributes

stl::enumeration< AnimationType, std::uint32_t > type
 
float duration
 
std::int32_t numberOfTransformTracks
 
std::int32_t numberOfFloatTracks
 
hkRefPtr< hkaAnimatedReferenceFrameextractedMotion
 
hkArray< hkaAnnotationTrackannotationTracks
 
- Public Attributes inherited from RE::hkReferencedObject
std::uint16_t memSizeAndFlags
 
volatile std::int16_t referenceCount
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_hkaAnimation
 
static constexpr auto VTABLE = VTABLE_hkaAnimation
 
- Static Public Attributes inherited from RE::hkReferencedObject
static constexpr auto RTTI = RTTI_hkReferencedObject
 
static constexpr auto VTABLE = VTABLE_hkReferencedObject
 
- Static Public Attributes inherited from RE::hkBaseObject
static constexpr auto RTTI = RTTI_hkBaseObject
 
static constexpr auto VTABLE = VTABLE_hkBaseObject
 

Member Enumeration Documentation

◆ AnimationType

Enumerator
kUnknownAnimation 
kInterleavedAnimation 
kDeltaCompressedAnimation 
kWaveletCompressedAnimation 
kMirroredAnimation 
kSplineCompressedAnimation 
kQuantizedCompressedAnimation 

Member Function Documentation

◆ ClearAllCacheKeys()

virtual void RE::hkaAnimation::ClearAllCacheKeys ( hkaChunkCache *  a_cache) const
virtual

◆ GetAnnotations()

virtual std::uint32_t RE::hkaAnimation::GetAnnotations ( float  a_startTime,
float  a_deltaTime,
TrackAnnotation a_annotationsOut,
std::uint32_t  a_maxAnnotations 
) const
virtual

◆ GetDataChunks()

virtual void RE::hkaAnimation::GetDataChunks ( std::uint32_t  a_frame,
float  a_delta,
DataChunk a_dataChunks,
std::int32_t  a_numDataChunks 
) const
virtual

◆ GetExtractedMotionDeltaReferenceFrame()

virtual void RE::hkaAnimation::GetExtractedMotionDeltaReferenceFrame ( float  a_time,
float  a_nextTime,
std::int32_t  a_loops,
hkQsTransform a_deltaMotionOut,
float  a_cropStartAmount,
float  a_cropEndAmount 
) const
virtual

◆ GetExtractedMotionReferenceFrame()

virtual void RE::hkaAnimation::GetExtractedMotionReferenceFrame ( float  a_time,
hkQsTransform a_motionOut 
) const
virtual

◆ GetMaxSizeOfCombinedDataChunks()

virtual std::int32_t RE::hkaAnimation::GetMaxSizeOfCombinedDataChunks ( ) const
virtual

◆ GetNumAnnotations()

virtual std::uint32_t RE::hkaAnimation::GetNumAnnotations ( float  a_startTime,
float  a_deltaTime 
) const
virtual

◆ GetNumDataChunks()

virtual std::int32_t RE::hkaAnimation::GetNumDataChunks ( std::uint32_t  a_frame,
float  a_delta 
) const
virtual

◆ GetNumOriginalFrames()

virtual std::int32_t RE::hkaAnimation::GetNumOriginalFrames ( ) const
pure virtual

◆ SampleIndividualFloatTracks()

virtual void RE::hkaAnimation::SampleIndividualFloatTracks ( float  a_time,
const std::uint16_t *  a_tracks,
std::uint32_t  a_numTracks,
float *  a_out 
) const
pure virtual

◆ SampleIndividualTransformTracks()

virtual void RE::hkaAnimation::SampleIndividualTransformTracks ( float  a_time,
const std::uint16_t *  a_tracks,
std::uint32_t  a_numTracks,
hkQsTransform a_transformOut 
) const
pure virtual

◆ SamplePartialTracks()

virtual void RE::hkaAnimation::SamplePartialTracks ( float  a_time,
std::uint32_t  a_maxNumTransformTracks,
hkQsTransform a_transformTracksOut,
std::uint32_t  a_maxNumFloatTracks,
float *  a_floatTracksOut,
hkaChunkCache *  a_cache 
) const
virtual

◆ SampleTracks()

virtual void RE::hkaAnimation::SampleTracks ( float  a_time,
hkQsTransform a_transformTracksOut,
float *  a_floatTracksOut,
hkaChunkCache *  cache 
) const
pure virtual

Member Data Documentation

◆ annotationTracks

hkArray<hkaAnnotationTrack> RE::hkaAnimation::annotationTracks

◆ duration

float RE::hkaAnimation::duration

◆ extractedMotion

hkRefPtr<hkaAnimatedReferenceFrame> RE::hkaAnimation::extractedMotion

◆ numberOfFloatTracks

std::int32_t RE::hkaAnimation::numberOfFloatTracks

◆ numberOfTransformTracks

std::int32_t RE::hkaAnimation::numberOfTransformTracks

◆ RTTI

constexpr auto RE::hkaAnimation::RTTI = RTTI_hkaAnimation
inlinestaticconstexpr

◆ type

stl::enumeration<AnimationType, std::uint32_t> RE::hkaAnimation::type

◆ VTABLE

constexpr auto RE::hkaAnimation::VTABLE = VTABLE_hkaAnimation
inlinestaticconstexpr

The documentation for this class was generated from the following file: