Class M_Skeleton

Version added: before 9.5
The M_Skeleton class represents the actual skeleton structure that is encapsulated by a bone layer.

Methods:

Name Returns Description Version added
AddBone M_Bone Create a new bone and add it to the skeleton before 9.5
Bone M_Bone Access a particular bone in the skeleton before 9.5
BoneByName M_Bone before 9.5
BoneID int32 Given a bone object, this function returns the identifier value for that bone in the skeleton before 9.5
CountBoneChildren int32 Returns the number of child bones attached to the given bone before 9.5
CountBones int32 Returns the number of bones in the skeleton before 9.5
CountVisibleBones int32 Added in version 10 10.0
DeleteBone void Delete a bone from the skeleton before 9.5
FlipBone void Flips the given bone at frame zero (and all the following animation angles and positions of it and its children). Added in version 11. 11.0
GetFirstChildBone int32 Return the first child of the given bone before 9.5
IKAngleSolver void Runs the inverse kinematics solver in order to move a chain of bones to reach a specified target point before 9.5
IsAncestorSelected bool before 9.5
IsBoneATarget bool Added in version 10 10.0
IsBoneChild bool Test whether one bone is a decendant of another before 9.5
IsBoneIKChild bool Added in version 12 12.0
IsBoneParent bool Test whether one bone is an ancestor of another before 9.5
LockBone void Locks the given bone at a specified time before 9.5
MakeBoneNameUnique void Added in version 12 12.0
NearestBone int32 Returns the closest bone to a 2D vector position before 9.5
SelectAll void before 9.5
SelectConnected void before 9.5
SelectedBoneID int32 Returns the identifier of the currently selected bone before 9.5
SelectInverse void before 9.5
SelectNone void before 9.5
TargetOfBone int32 Added in version 10 10.0
TargetOfBoneChain int32 Added in version 10 10.0
UnlockBone void Unlocks the given bone at a specified time before 9.5
UpdateBoneMatrix void Updates the transformation matrices for the given bone before 9.5

Properties:

Name Type Description Version added
fBindingMode int32 Which automatic binding mode should be used for this skeleton. See the binding mode constants. before 9.5