Navigation
API > API/Plugins > API/Plugins/IKRig
A "resolved" bone chain serves a few purposes:
takes the Start/End bone names from the IK Rig and converts them into a list of bone indices on the skeletal mesh
stores Local/Global ref pose of the chain
provides facilities to generate local/global poses of the chain
parameterizes the chain allowing you to GetTransformAtChainParam()
The intention with this data structure is to provide read-only chain data for ops to work with as they need.
| Name | FResolvedBoneChain |
| Type | struct |
| Header File | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Retargeter/IKRetargetProcessor.h |
| Include Path | #include "Retargeter/IKRetargetProcessor.h" |
Syntax
struct FResolvedBoneChain
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FResolvedBoneChain
(
const FBoneChain& InBoneChain, |
Retargeter/IKRetargetProcessor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoneIndices | TArray< int32 > | Retargeter/IKRetargetProcessor.h | ||
| ChainName | FName | Retargeter/IKRetargetProcessor.h | ||
| ChainParentBoneIndex | int32 | Retargeter/IKRetargetProcessor.h | ||
| ChainParentInitialGlobalTransform | FTransform | Retargeter/IKRetargetProcessor.h | ||
| CurrentLocalTransforms | TArray< FTransform > | Retargeter/IKRetargetProcessor.h | ||
| EndBone | FName | Retargeter/IKRetargetProcessor.h | ||
| IKGoalName | FName | Retargeter/IKRetargetProcessor.h | ||
| InitialChainLength | float | Retargeter/IKRetargetProcessor.h | ||
| Params | TArray< float > | Retargeter/IKRetargetProcessor.h | ||
| RefPoseGlobalTransforms | TArray< FTransform > | Retargeter/IKRetargetProcessor.h | ||
| RefPoseLocalTransforms | TArray< FTransform > | Retargeter/IKRetargetProcessor.h | ||
| StartBone | FName | Retargeter/IKRetargetProcessor.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEndIsStartOrChildOfStart | bool | Retargeter/IKRetargetProcessor.h | ||
| bFoundEndBone | bool | Retargeter/IKRetargetProcessor.h | ||
| bFoundStartBone | bool | Retargeter/IKRetargetProcessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetBoneAtParam
(
const double& Param |
Retargeter/IKRetargetProcessor.h | ||
int32 GetBoneClosestToParam
(
const double& Param |
Retargeter/IKRetargetProcessor.h | ||
| Retargeter/IKRetargetProcessor.h | |||
int32 GetEquivalentBoneInOtherChain
(
const int32 InChainIndex, |
Retargeter/IKRetargetProcessor.h | ||
| Retargeter/IKRetargetProcessor.h | |||
FTransform GetTransformAtChainParam
(
const TArray< FTransform >& Transforms, |
Retargeter/IKRetargetProcessor.h | ||
void GetWarnings
(
const FRetargetSkeleton& Skeleton, |
Retargeter/IKRetargetProcessor.h | ||
bool IsValid() |
Retargeter/IKRetargetProcessor.h | ||
void UpdatePoseFromSkeleton
(
const FRetargetSkeleton& InSkeleton |
Retargeter/IKRetargetProcessor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void FillTransformsWithGlobalRetargetPoseOfChain
(
const FRetargetSkeleton& Skeleton, |
Retargeter/IKRetargetProcessor.h | ||
static void FillTransformsWithLocalSpaceOfChain
(
const FRetargetSkeleton& Skeleton, |
Retargeter/IKRetargetProcessor.h | ||
static double GetChainLength
(
const TArray< FTransform >& Transforms |
Retargeter/IKRetargetProcessor.h |