MeshHelper.FlattenSkeleton Method
Gets a flattened list of all bones contained by the specified skeleton.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public static IList<BoneContent> FlattenSkeleton (
BoneContent skeleton
)
Parameters
- skeleton
Skeleton to be traversed.
Return Value
List of bones for the animation skeleton.
Remarks
The tree is calculated using a depth–first traversal. The bones are returned in the same order used by ModelProcessor to convert BoneWeight vertex channels into the BlendIndices format.
See Also
Reference
MeshHelper Class
MeshHelper Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista