|
|
|
|
|
ad::Pose Struct ReferenceA skeletal pose.
More...
#include <animation.h>
Collaboration diagram for ad::Pose:
[legend]List of all members.
Detailed Description
A skeletal pose.
This contains a Transform for every bone in a skeleton. - See also:
- ad::Transform, ad::Anim
Member Function Documentation
void ad::Pose::SetPoseFromSlerp |
( |
const Pose & |
from, |
|
|
const Pose & |
to, |
|
|
float |
weight, |
|
|
HiBoneMask * |
optionalMask = 0 |
|
) |
|
|
|
Set the pose from interpolating two other poses.
Generate this pose by spherically-linearly interpolating between the poses from and to . This, the from , and the to poses, should all be generated from the same Hierarchy. - Parameters:
-
| from | The source from pose |
| to | The source to pose |
| weight | In the range of 0 to 1, this value specifies how much to interpolate from the from pose to the to pose. |
| optionalMask | This parameter is optional and takes a pointer to a HiBoneMask. When this is used, only the bones selected are interpolated and stored over the current pose. Bones not selected will not be affected in this pose. |
|
The documentation for this struct was generated from the following files:
|
|