Click or drag to resize
DigitalRuneSkeleton Class
Describes a skeleton for 3D character animation in the bind pose.
Inheritance Hierarchy
SystemObject
  DigitalRune.Animation.CharacterSkeleton

Namespace: DigitalRune.Animation.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public class Skeleton : INamedObject

The Skeleton type exposes the following members.

Constructors
  NameDescription
Public methodSkeleton
Initializes a new instance of the Skeleton class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBindPoseAbsoluteInverse
Gets the bind pose transformation of a given bone relative to model space.
Public methodGetBindPoseRelative
Gets the bind pose transformation of a given bone relative to the parent bone.
Public methodGetChild
Gets the bone index of a child bone of a given bone.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIndex
Gets the bone index for a given bone name.
Public methodGetName
Gets the name of a given bone.
Public methodGetNumberOfChildren
Gets the number of child bones of a given bone.
Public methodGetParent
Gets the index of the parent bone of a given bone.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyName
Gets or sets the name of the skeleton.
Public propertyNumberOfBones
Gets the number of bones in this skeleton.
Top
Remarks

A Skeleton describes the hierarchy of bones in the "bind pose" (also called "rest pose"). Skeletons are immutable: After an instance is created, it is not possible to add/remove bones or change the bind pose.

The class SkeletonPose can be used to animate a skeleton: It defines a new pose for an existing skeleton. A single Skeleton instance can be shared by multiple SkeletonPoses. I.e. if multiple characters with the same skeleton are animated they share the same Skeleton instance, but each character has a different SkeletonPose.

See Also