MeshHelper.FindSkeleton Method

Note

This method is available only when developing for Windows.

Searches for the root bone of the contained skeleton. This node is used to animate the skeleton.

Syntax

'Declaration
Public Shared Function FindSkeleton ( _
         node As NodeContent _
) As BoneContent 
public static BoneContent FindSkeleton (
         NodeContent node
)
public:
static BoneContent FindSkeleton(
         NodeContent node
)

Parameters

  • node
    Type: NodeContent
    Mesh that possibly contains the skeleton.

Return Value

Type: BoneContent
Root of the contained skeleton; otherwise null if no skeleton is found.

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