Inheritance diagram for DzBone:
Constructors | |
DzBone () | |
Methods | |
DzBone | getFollowBone () |
Signals | |
void | followBoneChanged (DzBone bone) |
Signature: "followBoneChanged(DzBone*)" |
This specialized DzNode subclass adds follow bone, and mesh-binding functionality to DzNode. All DzBones are assumed to be in the hierarchy of a DzSkeleton, and will not function properly if their parent is not a DzSkeleton or another DzBone.
The concept of the follow bone allows the bone's of one skeleton (figure) to follow another skeleton (figure). This following does not reproduce transforms from one bone to another, but tries to align center and end points so that the following bone points in the same direction as the bone it is following. Typically, this is controlled at the skeleton level.
DzBone::DzBone | ( | ) |
Default Constructor. Creates a new Bone node.
DzBone::followBoneChanged | ( | DzBone | bone | ) | [signal] |
Signature: "followBoneChanged(DzBone*)"
DzBone DzBone::getFollowBone | ( | ) |
Get the node that this node is following