Export (0) Print
Expand All

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)

public ModelBoneCollection Bones { get; }

Property Value

A collection of ModelBone objects used by this model.

Bb195145.caution(en-us,XNAGameStudio.41).gifCaution
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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2015 Microsoft