ModelBoneCollection.TryGetValue Method
Finds a bone with a given name if it exists in the collection.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool TryGetValue (
string boneName,
out ModelBone value
)
Parameters
- boneName
The name of the bone to find. - value
[OutAttribute] The bone named boneName, if found.
Return Value
true if the named bone is found, otherwise false.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | boneName is null. |
See Also
Reference
ModelBoneCollection Class
ModelBoneCollection Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista