User Tools

Site Tools


DzSkeleton

The base class which owns a group of connected bones.

More...

Inherits :

Inherited By : figure_dz and legacyfigure_dz

Static Methods

DAZ Script
DzNodeconvertFigureToProp ( DzSkeleton skeleton, String newName )

Constructors

DAZ Script
DzSkeleton ()

Methods

Signals

voidfollowTargetChanged ( DzSkeleton skeleton )

Detailed Description

TODO: Add detailed description.

Static Methods


DzNode : convertFigureToProp( DzSkeleton skeleton, String newName )

Converts an articulate figure to a static prop.

Parameter(s):

  • srcSkeleton - The skeleton to convert.
  • nodeName - The name to assign to the new prop.

Constructors


DzSkeleton()

Default Constructor.

Methods


void : clearGeneratedMorphs()

Clears the generated morphs.


DzBone : findBone( String name )

Parameter(s):

  • name - The name of the bone to look for.

Return Value:

  • The bone in this skeleton's hierarchy with a matching name (if any), otherwise NULL.

DzBone : findBoneByLabel( String label )

Parameter(s):

  • label - The label of the bone to look for.

Return Value:

  • The bone in this skeleton's hierarchy with a matching label (if any), otherwise NULL.

String : findUniqueBoneName( String desiredName )

Parameter(s):

  • name - The name of the bone to make unique.

Return Value:

  • The unique bone name.

Array : getAllBones()

Return Value:

  • A list containing all bones that are part of this skeleton.

Boolean : getDrawGLBones()

Return Value:

  • true if OpenGL bones will draw in the viewport, otherwise false.

DzBoolProperty : getDrawGLBonesControl()

Return Value:

  • The boolean property that controls bone drawing in the viewport.

DzFloatProperty : getFigureIDControl()

Return Value:

  • The float property that controls the figure identifier.

Since:

  • 4.6.2.42

DzSkeletonProperty : getFollowControl()

Return Value:

  • The property that controls which skeleton this skeleton will follow.

See Also:


FollowMode : getFollowMode()

Return Value:

  • The current follow mode of the skeleton.

Since:

  • 4.8.0.23

DzEnumProperty : getFollowModeControl()

Return Value:

  • The enum property that controls the follow mode of the skeleton.

Since:

  • 4.8.0.23

DzSkeleton : getFollowSkeleton( Number which )

Return Value:

  • The i'th skeleton following this one.

DzSkeleton : getFollowTarget()

Return Value:

  • The skeleton that this skeleton is currently following (if any), otherwise NULL.

See Also:


DzColorProperty : getGLBonesColorControl()

Return Value:

  • The color property that controls bone color in the viewport.

DzFloatProperty : getGLBonesEdgeOpacityControl()

Return Value:

  • The float property that controls bone edge opacity in the viewport.

DzEnumProperty : getGLBonesEdgeStyleControl()

Return Value:

  • The enum property that controls bone edge style in the viewport.

DzFloatProperty : getGLBonesFillOpacityControl()

Return Value:

  • The float property that controls bone fill opacity in the viewport.

Number : getNumFollowSkeletons()

Return Value:

  • The number of skeletons following this one.

void : invalidateBoundingBoxes( Boolean checkSkeleton=true )

Invalidates the bounding boxes for this node, causing them to be recalculated.

Parameter(s):

  • checkSkeleton - Whether or not to invalidate the bounding box for this node's skeleton, if it has one.

void : setDrawGLBones( Boolean onOff )

Sets whether or not OpenGL bones will draw in the viewport.

Parameter(s):

  • onOff - If true, bones will be drawn in the viewport.

void : setFollowTarget( DzSkeleton skeleton )

Sets the figure that we are currently following.

Parameter(s):

  • skeleton - A pointer to the new follow target for the skeleton. If NULL, clears the figure that this skeleton is following.

See Also:

Signals


void : followTargetChanged( DzSkeleton skeleton )

Signature:“followTargetChanged(DzSkeleton*)”

Emitted when the follow target for this skeleton has changed.