|  | SkeletonGetParent Method | 
            Gets the index of the parent bone of a given bone.
            
 
Namespace: DigitalRune.Animation.CharacterAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
 Syntax
Syntaxpublic int GetParent(
	int boneIndex
)
Public Function GetParent ( 
	boneIndex As Integer
) As Integer
public:
int GetParent(
	int boneIndex
)
member GetParent : 
        boneIndex : int -> int 
Parameters
- boneIndex
- Type: SystemInt32
 The bone index.
Return Value
Type: 
Int32
            The bone index of the parent bone, or -1 if the bone is a root bone that does not have
            a parent bone.
            
 Exceptions
Exceptions See Also
See Also