ModelBoneCollection.Item Property (String)

Retrieves a ModelBone from the collection, given the name of the bone.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public ModelBone this [
         string boneName
] { get; }

Property Value

The ModelBone identified by boneName.

Exceptions

Exception type Condition
KeyNotFoundException boneName was not found in this ModelBoneCollection.

See Also

Reference

ModelBoneCollection Class
ModelBoneCollection Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista