![]()  | 
  
    Jolt Physics
    
   A multi core friendly Game Physics Engine 
   | 
 
Resource for a skinned animation. More...
#include <SkeletalAnimation.h>
  
Classes | |
| class | AnimatedJoint | 
| Contains the animation for a single joint.  More... | |
| class | JointState | 
| Contains the current state of a joint, a local space transformation relative to its parent joint.  More... | |
| class | Keyframe | 
| Contains the state of a single joint at a particular time.  More... | |
Public Types | |
| using | KeyframeVector = Array< Keyframe > | 
| using | AnimatedJointVector = Array< AnimatedJoint > | 
Public Member Functions | |
| float | GetDuration () const | 
| Get the length (in seconds) of this animation.  More... | |
| void | ScaleJoints (float inScale) | 
| Scale the size of all joints by inScale.  More... | |
| void | Sample (float inTime, SkeletonPose &ioPose) const | 
| Get the (interpolated) joint transforms at time inTime.  More... | |
| const AnimatedJointVector & | GetAnimatedJoints () const | 
| Get joint samples.  More... | |
| AnimatedJointVector & | GetAnimatedJoints () | 
  Public Member Functions inherited from RefTarget< SkeletalAnimation > | |
| RefTarget ()=default | |
| Constructor.  More... | |
| RefTarget (const RefTarget &) | |
| ~RefTarget () | |
| assert no one is referencing us  More... | |
| void | SetEmbedded () const | 
| RefTarget & | operator= (const RefTarget &) | 
| Assignment operator.  More... | |
| uint32 | GetRefCount () const | 
| Get current refcount of this object.  More... | |
| void | AddRef () const | 
| Add or release a reference to this object.  More... | |
| void | Release () const | 
Additional Inherited Members | |
  Static Public Member Functions inherited from RefTarget< SkeletalAnimation > | |
| static int | sInternalGetRefCountOffset () | 
| INTERNAL HELPER FUNCTION USED BY SERIALIZATION.  More... | |
  Protected Attributes inherited from RefTarget< SkeletalAnimation > | |
| atomic< uint32 > | mRefCount | 
| Current reference count.  More... | |
  Static Protected Attributes inherited from RefTarget< SkeletalAnimation > | |
| static constexpr uint32 | cEmbedded | 
| A large value that gets added to the refcount to mark the object as embedded.  More... | |
Resource for a skinned animation.
      
  | 
  inline | 
      
  | 
  inline | 
Get joint samples.
| float SkeletalAnimation::GetDuration | ( | ) | const | 
Get the length (in seconds) of this animation.
| void SkeletalAnimation::Sample | ( | float | inTime, | 
| SkeletonPose & | ioPose | ||
| ) | const | 
Get the (interpolated) joint transforms at time inTime.
| void SkeletalAnimation::ScaleJoints | ( | float | inScale | ) | 
Scale the size of all joints by inScale.