#include <OgreSkeletonDef.h>
◆ BoneDataVec
◆ BoneToSlotVec
◆ DepthLevelInfoVec
◆ IndexToIndexMap
◆ SkeletonDef()
Ogre::SkeletonDef::SkeletonDef |
( |
const v1::Skeleton * |
originalSkeleton, |
|
|
Real |
frameRate |
|
) |
| |
Constructs this Skeleton based on the old format's Skeleton.
The frameRate parameter indicates at which framerate it was recorded (i.e. 15fps, 25fps) so that all keyframe time values end up rounded.
◆ blockIdxToSlotStart()
static uint32 Ogre::SkeletonDef::blockIdxToSlotStart |
( |
uint32 |
blockIdx | ) |
|
|
inlinestatic |
Convertes a block index back to a slot index.
However the slot points at the start of the SIMD block.
- See also
- slotToBlockIdx and
-
mSlotToBone
- Parameters
-
- Returns
- The slot index.
References ARRAY_PACKED_REALS.
◆ getAnimationDefs()
◆ getBindPose()
const KfTransform* Ogre::SkeletonDef::getBindPose |
( |
| ) |
const |
|
inline |
◆ getBones()
const BoneDataVec& Ogre::SkeletonDef::getBones |
( |
| ) |
const |
|
inline |
◆ getBonesPerDepth()
void Ogre::SkeletonDef::getBonesPerDepth |
( |
vector< size_t >::type & |
out | ) |
const |
◆ getBoneToSlot()
◆ getDepthLevelInfo()
◆ getNameStr()
const String& Ogre::SkeletonDef::getNameStr |
( |
| ) |
const |
|
inline |
◆ getNumberOfBoneBlocks()
size_t Ogre::SkeletonDef::getNumberOfBoneBlocks |
( |
size_t |
numLevels | ) |
const |
Returns the total number of bone blocks to reach the given level.
i.e On SSE2, If the skeleton has 1 root node, 3 children, and 5 children of children; then the total number of blocks is 1 + 1 + 2 = 4
- Parameters
-
numLevels | Level depth to reach. Must be in range [0; mDepthLevelInfoVec.size] |
◆ getReverseBindPose()
◆ getSlotToBone()
◆ slotToBlockIdx()
static uint32 Ogre::SkeletonDef::slotToBlockIdx |
( |
uint32 |
slotIdx | ) |
|
|
inlinestatic |
Converts a "Slot index" to a block index.
- See also
- mSlotToBone Slot indices contain the information about the bone's depth level in the hierarchy, and an index to the exact bone. Block indices also contain the depth level, but an index to the start of the SIMD block.
- Parameters
-
- Returns
- The block index.
References ARRAY_PACKED_REALS.
The documentation for this class was generated from the following file: