AvatarPose Class |
Namespace: DigitalRune.Animation.Character
The AvatarPose type exposes the following members.
Name | Description | |
---|---|---|
AvatarPose(AvatarRenderer) |
Initializes a new instance of the AvatarPose class for the given
avatar renderer.
| |
AvatarPose(Skeleton) |
Initializes a new instance of the AvatarPose class for the given skeleton.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Expression |
Gets the facial expression at the current time position.
| |
Name |
Gets or sets the name of the avatar pose. (Same as the name of the
SkeletonPose.)
| |
SkeletonPose |
Gets the skeleton pose at the current time position.
|
Name | Description | |
---|---|---|
IAvatarAnimation.BoneTransforms |
Gets the current position of the bones.
| |
IAvatarAnimation.CurrentPosition |
Not implemented.
| |
IAvatarAnimation.Length |
Not implemented.
| |
IAvatarAnimation.Update |
Updates the current time position of the avatar animation.
| |
IAnimatableObjectGetAnimatablePropertyT |
Gets the property with given name and type which can be animated.
| |
IAnimatableObjectGetAnimatedProperties |
Gets either the properties which are currently animated, or all properties which can be
animated. (See remarks.)
|
This type is available only in the XNA-compatible builds of the DigitalRune.Animation.dll for Windows and Xbox 360.)
The AvatarPose stores the facial expression (see property Expression) and the skeleton pose (see property SkeletonPose) of an Xbox LIVE Avatar.
The skeleton and the skeleton pose is automatically created from an XNA AvatarRenderer instance. The avatar renderer must already be in its "ready" state (AvatarRender.State == AvatarRendererState.Ready) when the AvatarPose is created.
IAnimatableObject:
The AvatarPose implements the interface IAnimatableObject,
which means that it can be animated using the animation system. The animatable properties are
SkeletonPose and Expression. (When calling the method
GetAnimatablePropertyT(String) directly the properties are
identified using the strings "SkeletonPose" and "Expression".)
IAvatarAnimation:
The class implements the interface IAvatarAnimation, which means the object
can be passed to an AvatarRenderer for rendering.