Click or drag to resize
DigitalRuneSkeletonHelperRotateBoneAbsolute Method
Rotates a bone where the rotation is given in model space.

Namespace: DigitalRune.Animation.Character
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static void RotateBoneAbsolute(
	this SkeletonPose skeletonPose,
	int boneIndex,
	QuaternionF rotation
)

Parameters

skeletonPose
Type: DigitalRune.Animation.CharacterSkeletonPose
The skeleton pose.
boneIndex
Type: SystemInt32
The index of the bone.
rotation
Type: DigitalRune.Mathematics.AlgebraQuaternionF
The rotation in model space.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SkeletonPose. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionskeletonPose is .
See Also