#include <OgreSkeletonTrack.h>
|
| SkeletonTrack (uint32 boneBlockIdx, KfTransformArrayMemoryManager *kfTransformMemoryManager) |
|
| ~SkeletonTrack () |
|
void | _bakeUnusedSlots (void) |
| Takes all KeyFrames and repeats the KfTransforms for every unused slot by a pattern based on the number of used slots.
|
|
KeyFrameRigVec & | _getKeyFrames (void) |
|
void | _setMaxUsedSlot (uint32 slot) |
|
void | addKeyFrame (Real timestamp, Real frameRate) |
|
void | applyKeyFrameRigAt (KeyFrameRigVec::const_iterator &inOutLastKnownKeyFrame, float frame, ArrayReal animWeight, const ArrayReal *RESTRICT_ALIAS perBoneWeights, const TransformArray &KfTransforms) const |
| Applies the interpolated keyframe at the given frame to all bone transformations that are animated by this Track.
|
|
uint32 | getBoneBlockIdx (void) const |
|
void | getKeyFrameRigAt (KeyFrameRigVec::const_iterator &inOutPrevFrame, KeyFrameRigVec::const_iterator &outNextFrame, Real frame) const |
|
const KeyFrameRigVec & | getKeyFrames (void) const |
|
size_t | getUsedSlots (void) const |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
void | setKeyFrameTransform (Real frame, uint32 slot, const Vector3 &vPos, const Quaternion &qRot, const Vector3 vScale) |
|
void | setNumKeyFrame (size_t numKeyFrames) |
|
◆ SkeletonTrack()
◆ ~SkeletonTrack()
Ogre::SkeletonTrack::~SkeletonTrack |
( |
| ) |
|
◆ _bakeUnusedSlots()
void Ogre::SkeletonTrack::_bakeUnusedSlots |
( |
void |
| ) |
|
Takes all KeyFrames and repeats the KfTransforms for every unused slot by a pattern based on the number of used slots.
Only useful when mUsedSlots <= (ARRAY_PACKED_REALS >> 1). Otherwise it does nothing.
◆ _getKeyFrames()
◆ _setMaxUsedSlot()
void Ogre::SkeletonTrack::_setMaxUsedSlot |
( |
uint32 |
slot | ) |
|
|
inline |
◆ addKeyFrame()
void Ogre::SkeletonTrack::addKeyFrame |
( |
Real |
timestamp, |
|
|
Real |
frameRate |
|
) |
| |
◆ applyKeyFrameRigAt()
Applies the interpolated keyframe at the given frame to all bone transformations that are animated by this Track.
- Parameters
-
inOutLastKnownKeyFrame | [in/out] Hint to this system on where to start next. If unknown (i.e. first call) set it to mKeyFrameRigs.begin() As output it will be set to the current keyframe, and should be used as input for the next call to keep keyframe searchs in constant time. |
frame | [in] Frame number, should be in range [0; mNumFrames]; if below zero the result will look like clamped to zero, if above mNumFrames, it result will look like clamped to mNumFrames |
perBoneWeights | [in] A list of per bone weights. The size of the array must be 1 (or more) |
KfTransforms | [out] An array with all bone transformations, sorted by parent level. The key frames are only applied to affected bones. |
◆ getBoneBlockIdx()
uint32 Ogre::SkeletonTrack::getBoneBlockIdx |
( |
void |
| ) |
const |
|
inline |
◆ getKeyFrameRigAt()
◆ getKeyFrames()
◆ getUsedSlots()
size_t Ogre::SkeletonTrack::getUsedSlots |
( |
void |
| ) |
const |
|
inline |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
array operator new, with debug line info
◆ setKeyFrameTransform()
◆ setNumKeyFrame()
void Ogre::SkeletonTrack::setNumKeyFrame |
( |
size_t |
numKeyFrames | ) |
|
The documentation for this class was generated from the following file: