Nebula
Loading...
Searching...
No Matches
skeleton.cc File Reference
#include "skeleton.h"

Namespaces

namespace  Characters
 A character encapsulates a skeleton resource, an animation resource, and the ability to instantiate such and drive animations.
 

Functions

const SkeletonId Characters::CreateSkeleton (const SkeletonCreateInfo &info)
 create model (resource)
 
void Characters::DestroySkeleton (const SkeletonId id)
 discard model (resource)
 
const SizeT Characters::SkeletonGetNumJoints (const SkeletonId id)
 get number of joints from skeleton
 
const Util::FixedArray< CharacterJoint > & Characters::SkeletonGetJoints (const SkeletonId id)
 get joints from skeleton
 
const Util::FixedArray< Math::mat4 > & Characters::SkeletonGetBindPose (const SkeletonId id)
 get bind pose
 
const IndexT Characters::SkeletonGetJointIndex (const SkeletonId id, const Util::StringAtom &name)
 get joint index
 
const Util::FixedArray< Math::vec4 > & Characters::SkeletonGetIdleSamples (const SkeletonId id)
 Get idle samples.
 

Variables

SkeletonAllocator Characters::skeletonAllocator