Model.Bones Property
Gets a collection of ModelBone objects which describe how each mesh in the Meshes collection for this model relates to its parent mesh.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
Syntax
public ModelBoneCollection Bones { get; }
Property Value
A collection of ModelBone objects used by this model.
Remarks
Warning
Please note that the transforms contained in this collection of bones does not describe the cumulative relationship of each mesh relative to all of its parent meshes in the collection, just the immediate parent of the mesh. For this information, please see CopyAbsoluteBoneTransformsTo.
The transforms of each ModelBone in Bones can also be obtained using the CopyBoneTransformsTo method.
See Also
Reference
Model.CopyAbsoluteBoneTransformsTo Method
Model Class
Model Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP