ModelBoneCollection.Item Property (String)
Retrieves a ModelBone from the collection, given the name of the bone.
Syntax
'Declaration
Public ReadOnly Property Item ( _
boneName As String _
) As ModelBone
public ModelBone this [
string boneName
] { get; }
public:
property ModelBone default [String] {
ModelBone get (String boneName);
}
Property Value
Type: ModelBone
The ModelBone identified by boneName.
Exceptions
Exception type | Condition |
---|---|
KeyNotFoundException | boneName was not found in this ModelBoneCollection. |
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
ModelBoneCollection Class
ModelBoneCollection Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone