| SkeletonHelperSetBonePoseAbsolute Method |
Sets the bone transform to create a desired pose 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 SetBonePoseAbsolute(
this SkeletonPose skeletonPose,
int boneIndex,
SrtTransform bonePoseAbsolute
)
<ExtensionAttribute>
Public Shared Sub SetBonePoseAbsolute (
skeletonPose As SkeletonPose,
boneIndex As Integer,
bonePoseAbsolute As SrtTransform
)
public:
[ExtensionAttribute]
static void SetBonePoseAbsolute(
SkeletonPose^ skeletonPose,
int boneIndex,
SrtTransform bonePoseAbsolute
)
[<ExtensionAttribute>]
static member SetBonePoseAbsolute :
skeletonPose : SkeletonPose *
boneIndex : int *
bonePoseAbsolute : SrtTransform -> unit
Parameters
- skeletonPose
- Type: DigitalRune.Animation.CharacterSkeletonPose
The skeleton pose. - boneIndex
- Type: SystemInt32
The index of the bone. - bonePoseAbsolute
- Type: DigitalRune.Animation.CharacterSrtTransform
The bone pose 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