Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Node to handle re-targeting of Hand IK bone chain. It looks at position in Mesh Space of Left and Right FK bones, and moves Left and Right IK bones to those. based on HandFKWeight. (0 = favor left hand, 1 = favor right hand, 0.5 = equal weight). This is used so characters of different proportions can handle the same props.
| Name | FAnimNode_HandIKRetargeting |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_HandIKRetargeting.h |
| Include Path | #include "BoneControllers/AnimNode_HandIKRetargeting.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly)
struct FAnimNode_HandIKRetargeting : public FAnimNode_SkeletalControlBase
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_SkeletalControlBase → FAnimNode_HandIKRetargeting
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimNode_HandIKRetargeting() |
BoneControllers/AnimNode_HandIKRetargeting.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HandFKWeight | float | Which hand to favor. 0.5 is equal weight for both, 1 = right hand, 0 = left hand. | BoneControllers/AnimNode_HandIKRetargeting.h |
|
| IKBonesToMove | TArray< FBoneReference > | IK Bones to move. | BoneControllers/AnimNode_HandIKRetargeting.h |
|
| LeftHandFK | FBoneReference | Bone for Left Hand FK | BoneControllers/AnimNode_HandIKRetargeting.h |
|
| LeftHandIK | FBoneReference | Bone for Left Hand IK | BoneControllers/AnimNode_HandIKRetargeting.h |
|
| PerAxisAlpha | FVector | Alpha values per axis to apply on the resulting retargeting translation. | BoneControllers/AnimNode_HandIKRetargeting.h |
|
| RightHandFK | FBoneReference | Bone for Right Hand FK | BoneControllers/AnimNode_HandIKRetargeting.h |
|
| RightHandIK | FBoneReference | Bone for Right Hand IK | BoneControllers/AnimNode_HandIKRetargeting.h |
|
Functions
Public
Overridden from FAnimNode_SkeletalControlBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EvaluateSkeletalControl_AnyThread
(
FComponentSpacePoseContext& Output, |
Evaluate the new component-space transforms for the affected bones. | BoneControllers/AnimNode_HandIKRetargeting.h | |
virtual bool IsValidToEvaluate
(
const USkeleton* Skeleton, |
Return true if it is valid to Evaluate | BoneControllers/AnimNode_HandIKRetargeting.h |
Overridden from FAnimNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GatherDebugData
(
FNodeDebugData& DebugData |
BoneControllers/AnimNode_HandIKRetargeting.h |