Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This method is available only when developing for Windows.
Gets a flattened list of all bones contained by the specified skeleton.
Syntax
'Declaration
Public Shared Function FlattenSkeleton ( _
skeleton As BoneContent _
) As IList(Of BoneContent)
public static IList<BoneContent> FlattenSkeleton (
BoneContent skeleton
)
public:
static IList<BoneContent> FlattenSkeleton(
BoneContent skeleton
)
Parameters
- skeleton
Type: BoneContent
Skeleton to be traversed.
Return Value
Type: IList<BoneContent>
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.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
MeshHelper Class
MeshHelper Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP