User Tools

Site Tools


DzBone

Base class for all skeleton bone types.

More...

Inherits :

Constructors

DAZ Script
DzBone ()

Methods

Signals

voidfollowBoneChanged ( DzBone newFollowBone )

Detailed Description

This specialized DzNode subclass adds follow bone, and mesh-binding functionality to a node. All bones are assumed to be in the hierarchy of a DzSkeleton, and will not function properly if their parent is not a skeleton or another bone.

The concept of a follow bone allows the bones 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 (origin) 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.

Constructors


DzBone()

Default Constructor. Creates a new Bone node.

Methods


DzMatrix3 : getBoneLocalScale( DzTime tm )

Parameter(s):

  • tm - The time to get the local scale for.

Return Value:

  • The local scale of the bone at the given time.

DzBone : getFollowBone()

Get the node that this node is following.

Return Value:

  • The bone this bone is following, or NULL if this bone is not following another bone.

See Also:


Number : getFollowMode()

Return Value:

  • The mode that this node is following by.

See Also:

Since:

  • 4.8.0.23

Signals


void : followBoneChanged( DzBone newFollowBone )

Signature:“followBoneChanged(DzBone*)”

Emitted when the follow bone has changed.