| SkeletonHelperRotateBoneAbsolute Method |
Rotates a bone where the rotation is given in model space.
Namespace: DigitalRune.Animation.CharacterAssembly: 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
)
<ExtensionAttribute>
Public Shared Sub RotateBoneAbsolute (
skeletonPose As SkeletonPose,
boneIndex As Integer,
rotation As QuaternionF
)
public:
[ExtensionAttribute]
static void RotateBoneAbsolute(
SkeletonPose^ skeletonPose,
int boneIndex,
QuaternionF rotation
)
[<ExtensionAttribute>]
static member RotateBoneAbsolute :
skeletonPose : SkeletonPose *
boneIndex : int *
rotation : QuaternionF -> unit
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 See Also